Skip to content
This repository has been archived by the owner on Jun 8, 2022. It is now read-only.

Releases: react-prime/react-prime-ssr

v2.0.1

23 Jun 10:09
Compare
Choose a tag to compare
Move Reducer type to types file

v2.0.0

23 Jun 09:43
Compare
Choose a tag to compare
Move Reducer type to types file

v1.1

12 Jun 22:53
Compare
Choose a tag to compare
  • 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 and NextPageReduxComponent
    • Improved Store type. Action types are now statically typed and automatically inferred from the reducers
    • Added AnyObject, StringKeyObject, AnyFn. See types/general.ts
  • Added new lint rule @typescript-eslint/explicit-module-boundary-types. Return type on functions are now required. For Redux action objects, assert them as const so that TypeScript will type your functions. See ducks/data/index.ts