Releases: atlassian-labs/react-loosely-lazy
Releases · atlassian-labs/react-loosely-lazy
[email protected]
Patch Changes
- c1ee4f7: Avoid accessing global at module initialization time.
@react-loosely-lazy/[email protected]
Minor Changes
- ce8ba1e: Use stable parcel version
@react-loosely-lazy/[email protected]
@react-loosely-lazy/[email protected]
Minor Changes
- bbee6b9: Add custom resolver support
v1.1.0
New features
- Add a simple profiler for capturing load times #102
Bug fixes
- Rework subscriptions to not cause re-renders #94
- Revise server check #97
- Add children to
LazySuspenseProps
#101 PlaceholderFallbackRender
can call replacement effect twice #104- Update parcel transformer regex #109
More
- Add security assistant config #87
Full Changelog: v1.0.0...v1.1.0
v1.0.0
We now consider RLL stable! 🥳
No API changes, mostly a re-structure of the project to be a monorepo.
v0.7.0
v0.6.0
New features
- Update
lazy
to load outside of phases, so that it behaves likeReact.lazy
(#65). This change means that the next phase does not need to be manually started, for alazy
component to load. - The original error from the
loader
is thrown instead of a customLoaderError
, improving both the stack trace and messaging in the console and other reporters (#68) - Add
resolverOptions
configuration option to the babel plugin (#69) LazyComponent.preload
now returns a cleanup function, that removes any inserted link tags (#70)- Add retry support for the
loader
, and introduce a globalretry
configuration option (#71)
Bug fixes
- Fix
init
default value handling when called multiple times (#65) - Ensure
lazyAfterPaint
components do not render during the paint phase, when falling back to theloader
preloading (#65) - Automatically resolve TypeScript files in the babel plugin, when it is referenced in a loader import without the
.ts
or.tsx
suffix (#69) - Cleanup
lazyAfterPaint
preload links when the component unmounts (#70)
Breaking changes
v0.5.0
New features
- Export
getAssetUrlsFromId
(#63) - Optimise webpack manifest output by splitting out the
publicPath
from the asset list (#63) - Add
publicPath
option to the webpack plugin (#63)
Breaking changes
- This is considered a breaking change for consumers that access the internal webpack manifest file structure
v0.4.4
Bug fixes
Fix warning with Webpack 5 due to TS types exports