-
Notifications
You must be signed in to change notification settings - Fork 0
Heads-up in reactjs #7
Copy link
Copy link
Open
Labels
Description
react
- when ref is react element and when it is dom element,how do you directly use a react element ?
- how does react manage its children prop,what is the theory behind ?
- what is theory behind the updater in react, as to mean the setState mechanics ?
- how does the key prop work,can i take advantage of it?
- figure out when not to put data in the state,and what is the benifit.
- study
React.createElement React.cloneElement&&document.createElement element.cloneNode - what are the differences between browser events and react syntetic events
- a full understanding of server-side rendering of react apps(to next.js pay attention)
- use children prop explicitly,like below,whate happened
- study the
react-proxy
quetions from reading the react source code
<TabPane name="li" children={<div></div>}>
{
[1,2,3].map(index=>{
return 1
})
}
</TabPane>-
if you call
setStatein the same event loopmany times, it won't cause to render many times
but you shouldn't do that if it can be avoided -
make clear about the background mechanism of
react-router v4, bundle-loader,to help
write components with more approaches.
react-router
- V3
advice: fork the repository and do some notes in it and add a link here- study the AsyncUtils
- createTransitionManager
Reactions are currently unavailable