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)
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)
Because of StrictMode component used in index.js/ts
If you remove it ReactJs will do only one render not twice in development also