#121 Ending the debate on inline functions in React

this week's favorite

Ending the debate on inline functions in React

Using inline functions in React is convenient but can be contentious because of their perceived impact on performance. Today Flexport is introducing our solution to the debate: a Babel transform called reflective-bind.

React Component Patterns

It’s been a while since I’ve been working with React — a Facebook library to build user interfaces using JavaScript — and there are a few concepts I wish I knew when I was just starting. This text is an attempt to summarize some patterns I learned during my experience so far — and also may be useful for developers who are just about to enter this awesome component-based world.

componentDidMakeSense — React Lifecycle Explanation

As users interact with the application, the state changes which causes updates to the DOM. React provides a set of methods to seamlessly intercept the changes at any point during the updates and take control of the UI. The component lifecycle is typically one of the final pieces to truly mastering React, and this article will ensure that you have a firm grasp.

Using a React 16 Portal to do something cool

Portals let you render a bit of React-controlled DOM outside of the parent component. The React docs explain it nicely, using the example of a modal. It works well for tooltips, too (here’s one I made earlier).

Let’s Build: Cryptocurrency Native Mobile App With React Native + Redux

I’m going to teach you how to write a native mobile app with React Native and Redux. Let’s dive in!


Would you like to become a sponsor and advertise in one of the issues? Check out our media kit and get in touch.