About Performance
- Why use
withContext
instead ofReact.useContext
?
When useing useContext
, the update on context
will cause some unnecessary re-render. [See this issue]
not find your answer ? open an issue here.
withContext
instead of React.useContext
?When useing useContext
, the update on context
will cause some unnecessary re-render. [See this issue]
not find your answer ? open an issue here.