Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

shouldcomponentupdate in functional component

Use React.memo()

Read: https://reactjs.org/docs/react-api.html#reactmemo
Source by reactjs.org #
 
PREVIOUS NEXT
Tagged: #shouldcomponentupdate #functional #component
ADD COMMENT
Topic
Name
3+7 =