Creating modals was never such an easy task! Now we're able to create them using a React API called Portals. We're going to learn about Portals and how we can use them to create modals in React.
Wondering how to create loops in React? Learn about JSX and how to use methods like the map function to loop inside React JSX and render a list of items.
This post takes you through the top features in the newly released Create React App 3.3. See how the latest updates help speed your development of React apps.
Here are some of the most interesting features of React that I encountered as a JavaScript developer learning React for the first time. Hopefully my experiences can help you get to know these features too.
Context API is a great feature offered by React, but it can be tricky to get it right. Learn how to efficiently create and consume Context API with the use of hooks without performance issues. Starting with a naive implementation, we will iterate over what can be improved and how to avoid unnecessary component re-renders.