2 ms·
€0.02 SwiftUI is ‘declarative’ done pretty horribly wrong. Specifically: the DSL is a mess, very not easily compatible with vanilla Swift; the gestures are real
by th0wawayz 7y ago
€0.02 SwiftUI is ‘declarative’ done pretty horribly wrong. Specifically: the DSL is a mess, very not easily compatible with vanilla Swift; the gestures are really hard to get working just right; the animation api is way too automagical. All in all it makes doing things like trying to use helper functions become sado-masochism. It really makes me miss my days with React+Redux, even with all the boilerplate.
- acemarke 7y agoFWIW, we have a new official addon package called Redux Starter Kit [0]. It includes utilities to simplify several common Redux use cases, including store setup, defining reducers, immutable update logic, and even creating entire "slices" of state at once without writing any action creators or action types by hand. We're starting on a major rewrite of the Redux core docs [1], and as part of that we'll be encouraging folks to use RSK as the default way to write Redux code. (Note that we're also discussing possibly renaming RSK [2] to avoid confusion over the word "Starter" - a lot of folks are mistaking this to mean that it's only good for beginners or that it's some kind of project CLI tool.) [0] https://redux-starter-kit.js.org https://redux-starter-kit.js.org [1] https://github.com/reduxjs/redux/issues/3592 https://github.com/reduxjs/redux/issues/3592 [2] https://github.com/reduxjs/redux-starter-kit/issues/246 https://github.com/reduxjs/redux-starter-kit/issues/246