Releases: ricokahler/next-data-hooks
Releases · ricokahler/next-data-hooks
Release list
v0.5.1
v0.5.0
Includes #19 : Adds a TypeScript type guard isServerSidePropsContext
v0.4.0
Includes #18 . Now with documented support for getServerSideProps.
v0.3.0
Includes #10 and better enables the dataHooks static prop pattern.
See the updated README for new documentation.
Updates:
getDataHooksPropsnow de-dupes functions references so the same function reference can be added more than once.
Breaking changes:
- Trying to access a data hook that has not been added to the
getDataHooksPropswill result in a throw now. Previously it would returnundefined. getDataHooksProps({ hooks: [/* ... */] })has been renamed togetDataHooksProps({ dataHooks: [/* ... */] })
v0.2.1
v0.2.0
Includes #6
Breaking: createDataHooksProps => `getDataHooksProps
v0.1.1
v0.1.0
Merge pull request #4 from ricokahler/chore/kick-build chore: kick build