@electric-sql/react@0.5.0
·
1638 commits
to main
since this release
Minor Changes
- 4d872b6: All
Shapeinterfaces (ShapeStream,Shape,useShape) now requiretableas an additional configuration parameter, and the shape API endpoint url only needs to point to/v1/shape.
Patch Changes
- 61a18bd: - Implement
rowsandcurrentRowsgetters onShapeinterface for easier data access.- [BREAKING] Rename
valueSyncgetter onShapetocurrentValuefor clarity and consistency. - [BREAKING] Change
subscribeAPI onShapeto accept callbacks with signature({ rows: T[], value: Map<string, T> }) => void
- [BREAKING] Rename
- 9bd3673: Clear caches when cached stream is in errored state or is explicitly aborted
- Updated dependencies [61a18bd]
- Updated dependencies [4d872b6]
- Updated dependencies [aed079f]
- Updated dependencies [4d872b6]
- @electric-sql/client@0.7.0