Releases: FormidableLabs/react-ssr-prepass
Releases · FormidableLabs/react-ssr-prepass
v1.4.0
- Add ESM build and remove
process.env.NODE_ENV
switches (See #66)
v1.3.0
- Extend
peerDependencies
range for react
to ^17.0.0
(See #61)
- Upgrade support for
React.lazy
for react@17
(See #61)
- Add support for error boundaries, e.g.
static getDerivedStateFromError
and componentDidCatch
(See #61)
- Add support for
useMutableSource
and useOpaqueIdentifier
(See #64)
v1.2.1
- Add
sideEffects: false
to package.json
(See #54)
v1.2.0
- Upgrade dependencies and build process
- Add browser support by conditionally disabling yielding (See #50)
- Fix current identity assertion in dispatcher, which would cause a "Hooks can only be called inside the body of a function component" error, by @zenflow (See #51)
v1.1.2
- Refactor/remove unused dispatcher code and implement useCallback properly (See #42)
v1.1.1
- Fix issue where suspense triggered in
useState
or useReducer
state initialiser functions would fail catastrophically (See #41)
v1.1.0
- Fix issue where concurrent renders with suspense would break order of hooks (see #37)
- Add support for
useTransition
and useDeferredValue
(see #36)
- Fix edge cases where
ReactCurrentDispatcher
wasn't reset (see #38)
- Fix bug where forwardRef components wrapping memo components would error (see #40)
- Remove styled-components workaround (see #39)
This release removes the styled-components
workarounds that were necessary for styled-components@^4.0.0
. Please upgrade to styled-components@^5.0.0
and don't forget to wrap your elements in a ServerStyleSheet
before upgrading.