Answer the question
In order to leave comments, you need to log in
How does react understand when to contact the server and when to render a component?
How does react understand when to contact the server and when to render a component? Let's say at site.com we get a react app that uses react router dom, we have a router that, if it doesn't find a suitable route, displays page not found. what if we have data from the server pulled from site.com/api? react will give not found page or load data?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question