DEV Community

Discussion on: React.js Interview - technical submission and detailed feedback

Collapse
 
rajeshroyal profile image
Rajesh Royal

Thank you for reading @ogranada
The API dual call happen in only dev mode of React V18. In prod build everything is working perfect.

If you can explain a little bit about it or share some resources I would love to learn - (isolation by module is good but isolation by instance is better)

Collapse
 
makranelhoucine profile image
EL HOUCINE MAKRAN

Because of StrictMode component used in index.js/ts

If you remove it ReactJs will do only one render not twice in development also