3 ms·
In all fairness, I think that flags that provide some basic bootstrapping for Redux and/or React-Router would be very spiffy - those tools are useful for many R
by seangrogg 10y ago
In all fairness, I think that flags that provide some basic bootstrapping for Redux and/or React-Router would be very spiffy - those tools are useful for many React applications.
- amavisca 10y agoI think Redux and React-Router are very opinionated and distract people new to React from React itself. My workflow for ramping someone up on React and eventually Redux looked like: - A single React component with React.createClass - ES6 class React components - Add a component hierarchy and treat the top level component's state as the entire app state - pass down callbacks to update state. Look how this becomes harder to scale as we get more depth in our component hierarchy! - Redux without the redux-react bindings. Also stateless function components.
- seangrogg 10y agoI agree. That's why I would put them behind flags. Even though most of my own projects wind up using them, I tend to start from a clean slate and apply things only as they become relevant.