You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello @sudheerj , thank you for this wonderful collection of questions! Here are some of my comments to improve the document:
Duplicity: 82 and 109
82 and 109 are almost the same and can be considered as duplicate ( 82: "Why we need to pass a function to setState()?" - 109: "Why function is preferred over object for setState?" )
Duplicity: 87 and 118
87 and 118 refer to a very similar topic and can be merged ( 87: "Why should component names start with capital letter?" - 118: "Why React component names must begin with a capital letter?" )
102: "How to listen to state changes?"
componentWillUpdate is deprecated.
182: "What are Redux selectors and why to use them?"
I think why to use them is not mentioned. One specific need is when using them with "select" method of saga's.
Hello @sudheerj , thank you for this wonderful collection of questions! Here are some of my comments to improve the document:
82 and 109 are almost the same and can be considered as duplicate ( 82: "Why we need to pass a function to setState()?" - 109: "Why function is preferred over object for setState?" )
87 and 118 refer to a very similar topic and can be merged ( 87: "Why should component names start with capital letter?" - 118: "Why React component names must begin with a capital letter?" )
componentWillUpdate is deprecated.
I think why to use them is not mentioned. One specific need is when using them with "select" method of saga's.
create-react-app now supports TypeScript natively: see: https://github.com/wmonk/create-react-app-typescript
Should go under redux section instead of misc.
There is a third way of writing statics; that is, outside the class:
There is no need to use both since React.createRef brought with v16.3 is much neater than both: https://reactjs.org/blog/2018/03/29/react-v-16-3.html#createref-api
Hooks are no more a proposal
The text was updated successfully, but these errors were encountered: