This repository has been archived by the owner on Jun 8, 2022. It is now read-only.
Releases: react-prime/react-prime-ssr
Releases · react-prime/react-prime-ssr
v2.0.1
v2.0.0
Move Reducer type to types file
v1.1
- Updated all dependencies
- Fixed an issue where
getInitialProps
would not properly execute on Page components - Changes outside of the
src
folder will now restart the server automatically - Service Worker now has proper runtime caching
- The entire
public
folder is now copied to the build folder on build - Added
robots.txt
- Fixed various issues with static files
- Fixed and improved various types
- Because every page component that needs access to Redux has to be wrapped with
withRedux
, you can now distinguish between pages with or without Redux access with these new types:NextPageComponent
andNextPageReduxComponent
- Improved
Store
type. Action types are now statically typed and automatically inferred from the reducers - Added
AnyObject
,StringKeyObject
,AnyFn
. See types/general.ts
- Because every page component that needs access to Redux has to be wrapped with
- Added new lint rule
@typescript-eslint/explicit-module-boundary-types
. Return type on functions are now required. For Redux action objects, assert them asconst
so that TypeScript will type your functions. See ducks/data/index.ts