-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Modernize React Redux #213
Labels
type:enhancement
New feature or request
Comments
Merged
This was referenced Dec 19, 2023
This was referenced Jan 8, 2024
Arnei
added a commit
to Arnei/opencast-admin-interface
that referenced
this issue
Mar 6, 2024
Helps with opencast#213. Switching to redux toolkit for handling table filter profiles (you can save your table filters into various profiles).
Arnei
added a commit
to Arnei/opencast-admin-interface
that referenced
this issue
Mar 6, 2024
Helps with opencast#213. Switching to redux toolkit for handling table filters.
Arnei
added a commit
to Arnei/opencast-admin-interface
that referenced
this issue
Apr 5, 2024
Helps with opencast#213. Forgot to look at the thunks when modernizing aclSlice. This rectifies that. Arguably some of these could have been turned into `createAsyncThunk` and have their results stored in redux. However, this would not only require major rewrites for the components using those thunks, but also child components who all rely on the current code structure. This was deemed too much work for what this PR wanted to achieve.
Arnei
added a commit
to Arnei/opencast-admin-interface
that referenced
this issue
May 13, 2024
Helps with opencast#213. Switching to redux toolkit for handling table filters.
I dare say this is solved by now. If anything else needs to be modernized, a new issue will probably be more useful. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Our redux code is still "oldschool", meaning it's unwieldy, there's a hell of a lot of boilerplate and it's nearly impossible to type well. Therefore we should try to migrate to "modern" redux, using redux-toolkit.
Also recommended by the developers of React Redux: https://redux.js.org/usage/migrating-to-modern-redux
The text was updated successfully, but these errors were encountered: