Deep Dive into React Portals
React Portal is a new feature of React 16. Although it’s quite a handy way to show Modals and toast message, there are concerns around if it’s really a good practice to use portals and jump your code out of the Component heirarchy. We will explore how using React Portals will actually make you a better programmer.
- What is React Portal
- Use cases of its advantages
- Concerns around usage of React Portal
- Clean design using Portals
an exploratory mind :)
Souvik is a JS enthusiasts with 14 years experience in the industry. His day job is to set up a team on React project in Tesco Bengaluru. He loves to code equally well in React as well as in Angular. Currently he is spending a lot of time exploring Conversational UI.