Frontend Weekly
Published in

Frontend Weekly

React Portals — Understanding with examples

A guide to proper placement of DOM Elements in React

Rick and Morty coming out of Portal via Pinterest

While architecting scalable apps, writing syntactically correct React code is not enough. It is important to write semantically correct code as well where React Portals shine. Even if you have nailed the DRY (Don’t Repeat Yourself) coding principle, it is important that you ensure your code follows the…




It's really hard to keep up with all the front-end development news out there. Let us help you. We hand-pick interesting articles related to front-end development. You can also subscribe to our weekly newsletter at

Recommended from Medium

How to Animate a Gauge Chart in Under 2 Minutes

Advanced JS Array Manipulation

What Is This Crazy Keyword?

Hoisting in JavaScript

Install Next.js with Pre-Commits, Tailwindcss andSASS

Superpower your Static HTML with Static Jinja!

The Trials and Tribulations of Asynchronous Code

What is Javascript Promise ?

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Aditya Tyagi

Aditya Tyagi

Programmer and a voracious reader who writes about web development |

More from Medium

Super-DRY React Components

React-router-dom— The essentials

An image of a map

Optimizing React Applications

Most Efficient Ways Of Styling React Components: Introducing Styled Components