Answer the question
In order to leave comments, you need to log in
How to cancel the redrawing of functional components?
Hello, I have a global repository like Redux. With the help of the context, I distribute the state to the entire application:
<StoreProvider>
<Router>
<Fragment>
<Header />
<Main>
<Literature />
</Main>
</Fragment>
</Router>
</StoreProvider>
Answer the question
In order to leave comments, you need to log in
You can try using https://reactjs.org/docs/react-component.html#shou...
Return always false in this hook.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question