Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

@sigi-fork/ssr

sigi-framework21MIT1.0.4TypeScript support: included

Server side rendering support for sigi framework

Sigi, SSR

readme

changelog

Change Log

All notable changes to this project will be documented in this file. See Conventional Commits for commit guidelines.

2.13.0 (2024-04-22)

Features

2.12.2 (2021-09-29)

Bug Fixes

  • react: flip boolean can assure react to force update (10a1ca8)

2.12.1 (2021-09-18)

Bug Fixes

  • react: state selector may use old closures (69b19ce)

2.12.0 (2021-09-02)

Features

  • ssr: support extract to json and restore state (4ac7936)

2.11.3 (2021-08-30)

Note: Version bump only for package sigi

2.11.2 (2021-08-24)

Bug Fixes

  • core: skipCount should less equal than the filtered index (ff38eb6)

2.11.1 (2021-08-11)

Bug Fixes

  • init while payloadgetter skip (f317101)
  • ssr: payloadGetter type in match function (38738ab)

2.11.0 (2021-07-19)

Features

2.10.9 (2021-06-28)

Note: Version bump only for package sigi

2.10.8 (2021-06-16)

Bug Fixes

  • ssr: skipped actions should always be retried on client (4000e27)

2.10.7 (2021-06-15)

Bug Fixes

  • core: skip from SSR logic (c3e1ee8)

2.10.6 (2021-06-09)

Bug Fixes

  • react-router: duplicated router module (6458713)

2.10.5 (2021-06-09)

Bug Fixes

  • react-router: missing export types (d9e8c65)

2.10.4 (2021-06-09)

Bug Fixes

  • core: compatible with es class property (3f0e38a)

2.10.3 (2021-06-09)

Bug Fixes

  • react: react 18 cm safe (fef08ff)

2.10.2 (2021-05-26)

Note: Version bump only for package sigi

2.10.1 (2021-05-18)

Bug Fixes

  • react: serverCache in childInjector may be undefined (b943c19)

2.10.0 (2021-05-13)

Features

  • ssr: force all epic to complete after disposed (d89786a)

2.9.3 (2021-05-12)

Bug Fixes

  • ssr: re-assign timer to null (c7e6a55)

2.9.2 (2021-05-11)

Bug Fixes

  • ssr: typo windows => window (0034a24)

2.9.1 (2021-05-11)

Bug Fixes

  • react: missing fallback logic in useServerInstance (9922ae2)

2.9.0 (2021-05-11)

Bug Fixes

  • ssr: should be able to emit terminate in the other modules (cfb4c43)
  • dependencies list (4a44cdd)
  • react: state mismatch while dispatch reducers in useEffect of Child component (c92d4be)

Features

  • core: ssr effect now could be marked retry on client (116df59)

Performance Improvements

  • core: reduce js engine hidden path mismatch (3224344)
  • react: fast code path on server (f7df497)
  • ssr: add fast path for ssr di logic (8cd2f5a)

2.8.6 (2021-05-06)

Note: Version bump only for package sigi

2.8.5 (2021-04-28)

Bug Fixes

  • ssr: race operator should only accept last value of SSR Modules (44c3e1b)

2.8.4 (2021-03-31)

Bug Fixes

  • react: should still not skip first setState if not first rendering (1349288)

2.8.3 (2021-03-29)

Bug Fixes

  • react: emit warning while pass selector without dependencies (3198ea5)

2.8.2 (2021-03-29)

Bug Fixes

  • typecheck issues after upgrade to ts@4.2 (390651e)
  • react: useModule subscription should be in useEffect (9603ffa)
  • ssr: always resolve deferred promise to prevent floating Promise (4493da0)

2.8.1 (2021-03-03)

Bug Fixes

  • ssr: emit stateToPersist after all Modules was finished (92f1790)

2.8.0 (2021-02-22)

Bug Fixes

Performance Improvements

  • ssr: reduce closure creations (5ede4ac)

2.7.0 (2021-02-07)

Features

  • react-router: export createHistoryProviders to register history in SSR (1369acf)
  • ssr: pass config which contains providers in emitSSREffects function (b32ef30)

2.6.0 (2021-02-01)

Bug Fixes

  • react-router: missing @sigi/{di,types} dependencies (6f50a97)

Features

  • testing: typings enhancement (c2ca55d)

2.5.1 (2021-01-22)

Bug Fixes

  • core: setup store immediately after set default state (d5d2631)

2.5.0 (2020-12-17)

Features

  • react: add equal fn option to state selector config (a9a13ea)

2.4.5 (2020-12-14)

Bug Fixes

  • core: epic do not follow rxjs control (e27ab82)

2.4.4 (2020-11-27)

Bug Fixes

  • di: always cache instance in nearest injector (a999d5c)

2.4.3 (2020-11-22)

Note: Version bump only for package sigi

2.4.2 (2020-10-15)

Note: Version bump only for package sigi

2.4.1 (2020-08-27)

Bug Fixes

  • react-router: react-router is actually using history@4 (e1a6841)

2.4.0 (2020-07-28)

Features

  • core: get rid of symbols (6d7a848)
  • react: expose common actions to dispatcher hooks (20dd063)

2.3.1 (2020-07-09)

Bug Fixes

  • react: do not skip emit state after dependencies changed (8656051)

2.3.0 (2020-07-05)

Features

  • di: injectable now accept InjectableOptions (f1da08f)

2.2.0 (2020-06-28)

Bug Fixes

  • core: dispatching action on non-effects module causes dead loop (1ad1100)
  • react-router: api broken after bump history to 5.0 (224d283)

Performance Improvements

2.1.0 (2020-06-02)

Features

  • provide noop(), terminate(), reset() three default actions (e680fdf)

refactor

  • deprecate this.createNoopAction(), use this.noop() instead (5202209)
  • effect module and core store (e680fdf)

v2.0.2

@sigi/react

  • remove useless SSR_LOADED_KEY and related logic

v2.0.1

@sigi/react

v2.0.0

@sigi/core

  • rename internal state owner to store

@sigi/react

  • (Breaking change) merge @SSREffect into @Effect #67
  • (Breaking change) rename useEffectModule => useModule
  • (Breaking change) rename useEffectState => useModuleState
  • (Breaking change) rename useEffectModuleDispatchers => useDispatchers #83

v1.0.2

devtool

  • fix error when logging noopAction

v1.0.1

testing @1.0.1

  • rename SigiTestingModule#getAyanamiTestingStub => SigiTestingModule#getTestingStub

v1.0.0 (First release)

  • core @1.0.0
  • devtool @1.0.0
  • react @1.0.0
  • react-router @1.0.0
  • ssr @1.0.0
  • testing @1.0.0
  • ts-plugin @1.0.0