You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The generators already create a redux toolkit store, I'd like move superglue/lib/actions.ts to createAction. We don't necessarily need to migrate to createReduceryet, instead we can make use of [match](https://redux-toolkit.js.org/api/createAction#actioncreatormatch] to get a better typescript guard.
We can also clean up how actions get generated with rails superglue:install:web. Its cleaner for superglue users.
The text was updated successfully, but these errors were encountered:
The generators already create a redux toolkit store, I'd like move
superglue/lib/actions.ts
tocreateAction
. We don't necessarily need to migrate tocreateReducer
yet, instead we can make use of [match](https://redux-toolkit.js.org/api/createAction#actioncreatormatch] to get a better typescript guard.We can also clean up how actions get generated with
rails superglue:install:web
. Its cleaner for superglue users.The text was updated successfully, but these errors were encountered: