v6.24.0
v6.24.0 (Minor Release)
Status: Released
This is a new minor release of the @alextheman/components package. It introduces new features and other backwards-compatible changes that should require little to no refactoring. Please read the description of changes below.
Description of Changes
- Deprecate
createQueryBoundary.- I know, it's probably the newest addition to the package and I'm already deprecating it...
- I promise there's a good reason for it, though!
- Add the following to the
@alextheman/components/v7entrypoint:createBaseQueryBoundary- Creates the following:
ContextErrorNullableFallback
- These are all components that deal with query state specifically.
- Creates the following:
createItemQueryBoundary- Creates everything
createBaseQueryBoundarycreates, along withData. This deals with resolved query data, treating it as a single data item.
- Creates everything
createListQueryBoundary- Creates everything
createBaseQueryBoundarycreates, along withDataMap. This deals with resolved query data, treating it as an array of data items.
- Creates everything
Migration Notes
- As of now, this is provided in the v7 entrypoint and
createQueryBoundaryis deprecated, but being kept around for now until we fully move to v7. - In the meantime, to migrate, replace
createQueryBoundarywith eithercreateItemQueryBoundaryorcreateListQueryBoundary. - Use
createItemQueryBoundaryif you're usingQueryBoundary.Data, andcreateListQueryBoundaryif you're usingQueryBoundary.DataMap.