rails superglue:install:web
step adds a preconfigured entry point in app/javascript/packs/application.js
.reducer.js
file for any custom reducer you'd like to add. Included in the reducer is a pagesReducer
for any cross-page optimistic updates, and a applicationRootReducer
for the entire store. The latter is used for Redux Persist, which you can customize to your needs.visit
and remote
thunks can be customized in app/javascript/packs/application_visit.js
. Functionality like loading indicators can be added there.