Releases: atlassian-labs/react-resource-router
Releases · atlassian-labs/react-resource-router
v0.21.2
Bug fixes
- Improved Link
prefetch
to not cause actual changes in resources (invalidation, update, ...) but instead keep the data separate until navigation is confirmed. This should also solve unnecessary re-renders when interacting with prefetching links
v0.21.1
Improvements & bug fixes
Fix missing type export
v0.21.0
v0.20.1
v0.20.0
v0.19.3
v0.19.2
Improvements & bug fixes
- Changes the TypeScript typings for
ResourceStoreContext
to be an emptyinterface
instead of anany
typedtype
, so that consumers of the library can do a module declaration to extend theResourceStoreContext
to type their own code. #142 - Compile typescript with isolatedModules to remove types from runtime code. #147
v0.19.1
v0.19.0
Breaking changes
- Treat
null
as valid resource data. #107
New features
- Allow
Redirect
component to accept a route object asto
prop. #108 - Ensure compatibility with history@5. #113
- Add
isBrowserOnly
to Resource. More info at https://github.com/atlassian-labs/react-resource-router/blob/master/docs/resources/creation.md
Flowtype fixes
- Type the props provided by the 'withRouter' component. #98
Bug fixes
v0.18.1
Bug fixes
- Fix delete resource potentially erroring when resource cache was not created