Home » react

The Complete Guide to QA Outsourcing with a List of the Top Software Testing Outsourcing Companies. This is called Outsourcing. It is when work is outsourced to an outside vendor/company and is not performed internally.Β Many companies choose to outsource QA testing. There are many factors that can drive outsourcing. However, it is important to note […]

Read More

And thus concludes modular one of Learn While you Poop. We covered react essentials all the way from why you should even learn react, to how you can publish a self contained react component to open source. We covered render props, compossible components, how you can reuse things, we said that you should hoist it […]

Read More

Now here’s the thing. When you’re building your React project, you’ll soon realize that your life could be a lot better if you could build your components in isolation because it gets really annoying to deal with your entire application if all you’re trying to do really is develop the perfect button … as you’re […]

Read More

Had this for a while now. So our example page is getting really messy, which means it’s time to break it up into multiple pages. The easiest way to do that is to using the React Router library, which is going to let us split our app component into multiple sub-components, wrap those component into […]

Read More

An important react pattern we haven’t talked about yet, our so called controlled inputs. Controlled inputs are how you build input fields in React so that the actually value is controlled by state. Imagine you have an input with a value in state. Whenever you press a button, you update your value and that value […]

Read More

We’ve talked a lot about component this, component that. But, a question I often get is … Yes, not from you Kiwi … How do you decide what to put in a component? When should a component be split up into multiple components? When should multiple components be combined into one component? And well, the […]

Read More

Another important tool in your react arsenal are so called, error boundaries, which let you encapsulate parts of your app, so that when errors happen inside that chunk of your app they get nicely processed and display an error message, or something like that. The reason that’s important is because with React 16 they changed […]

Read More

Another interesting pattern for react component reuse are so called react portals which let you pretend that and random DOM node is part of your component children. Essentially what happens with the react portal is that you render something called react create portal as part of your component. Those children can be any random DOM […]

Read More

Yesterday, we talked about how can use render props to make your components more flexible and give users of your components the chance to inject a render method into your component. Another common pattern for what is also essentially a render prop is the so-called function as children approach. Function as children works the exact […]

Read More

Render props are the hot new react patent for building reusable components. You can think of them as dependents injection or inversion of control, depending on which wording you prefer. The idea is that you have a component that doesn’t know how to render anything. When you pass a different component into it that does […]

Read More