3 ms·
So we just switched from Angular 1 to React. We decided about a year ago. So I spend a year writing side projects in React and Redux. In the meantime, a new de
by tenaciousDaniel 7y ago
So we just switched from Angular 1 to React.
We decided about a year ago. So I spend a year writing side projects in React and Redux. In the meantime, a new dev was hired to begin writing the React/Redux code. I just jumped into his code today and tried to add my own stuff, and I feel like I'm learning programming all over again, because it looks like absolute gibberish compared to the code I had been writing on the side.
So even if you are using React and Redux, you can write code that has virtually no resemblance to another repo.
It's insane.
- mosdl 7y agoRedux forces you to write lots of ugly boilerplate, its the same way in all code bases that use it.
- davidjnelson 7y ago// reuse this export const createAction<T>(type: string, payload: T) => { return { type, payload }; }; // some component onClick={event => dispatch(createAction<SomeInterface>(TYPE_CONSTANT, event.target.value))} Where’s the boilerplate?