Closed kesslern closed 4 years ago
Redux reducer enhancements:
createSlice
Type improvements:
loginToJellyfin
RootState
useSelector
JellyfinProps
Build improvements:
standard
standard-jsx
package.json
Store persistence updates:
Redux reducer enhancements:
createSlice
from @reduxjs/toolkit to create type-safe reducers and auto-generate action creators.Type improvements:
loginToJellyfin
API function to a thunk for consistencyRootState
type for Redux state typeuseSelector
hook that usesRootState
for type-safetyJellyfinProps
typeBuild improvements:
standard
andstandard-jsx
eslint rulespackage.json
and move them all to dev dependencies sectionStore persistence updates: