Repository navigation
v2.2.0
What's Changed
This Release changes the template of the AdapterEndpoint object, removing some unused properties and simplifying functionality.
This will be a breaking change if your project uses any of the following properties or methods returned by useAdapterEndpoint
error: No longer needed, use the errors fromuseErrorif requiredupdateFlag: Components that used this flag to monitor updates now use the data itself, thanks to Tanstack Query's cachingstatus: UnusedrefreshDataandmergeData: Methods no longer required due to the Tanstack Query caching mechanism.
Additionally, the data and metadata objects from the hook can be undefined, if there are connection issues or when first mounted. Your IDE may complain if you do not check for this.
Full Changelog: v2.1.2...v2.2.0