by acemarke · 5y ago · 0 comments
Note that we now recommend using the "ducks/slice file" pattern for organizing Redux logic for a given feature in a single file:
https://redux.js.org/style-guide/style-guide#structure-files...
which you basically get for free anyway if you're using our official Redux Toolkit package and the `createSlice` API (which generates action creators based on your reducers):
https://redux.js.org/tutorials/fundamentals/part-8-modern-re...
Obviously the Figma codebase has been around for a while so this isn't an immediate solution to their issue, but it definitely simplifies dealing with most Redux logic.