3 ms·
PropTypes aren't required. Also, the "action" stuff is about Redux, not React. For Redux specifically, we've got a new `redux-starter-kit` package available.
by acemarke 8y ago
PropTypes aren't required. Also, the "action" stuff is about Redux, not React.
For Redux specifically, we've got a new `redux-starter-kit` package available. It helps simplify several common use cases, including store setup, defining reducers, immutable update logic, and even creating entire "slices" of state without writing any action types or action creators by hand. I'd encourage anyone using Redux to try it out and let us know how much it helps you.
https://redux-starter-kit.js.org https://redux-starter-kit.js.org
- karmakaze 8y agoWhenever I read the source for React apps, I see a lot of machinery that varies depending on library choices, PropTypes and Redux are just examples. With Vue apps more of the source appears like things for the application and not the machinery. I also greatly value the separation of <template>, code, and style but still kept in a single file per component. All of this may be possible with React, but with Vue it's the default.