Skip to content

Releases: sevenwestmedia/react-ssr-data-loader

v2.0.0-next.4

10 Nov 02:34
83ad298
Compare
Choose a tag to compare
v2.0.0-next.4 Pre-release
Pre-release

Patch Changes

  • 6b228ea: Fixed possible error when a data loader is unmounted while a new data loader is still mounting which has the same data loader params

v2.0.0-next.3

28 Oct 03:35
fbd08d0
Compare
Choose a tag to compare
v2.0.0-next.3 Pre-release
Pre-release

Patch Changes

react-ssr-data-loader@2.0.0-next.0

23 Apr 03:51
Compare
Choose a tag to compare
Pre-release

Major Changes

  • 576e31d: Converted usage from component with render prop to react hook

    Migration

    Before

    const TestDataLoader = this.resources.registerResource<DataResource, { id: string }>(
        'testDataType',
        () => loadData(),
    )

    After

    const useDataLoader = this.resources.registerResource<Data, { id: string }>('testDataType', () =>
        loadData(),
    )

v1.3.0

03 Sep 08:03
33e2293
Compare
Choose a tag to compare

1.3.0 (2019-09-03)

Bug Fixes

  • Switch to const enum for LoaderStatus (8b764da)

Features

  • Expose public API for generating the cache key (fc00e88)

v1.2.0

03 Sep 04:55
8c68b2e
Compare
Choose a tag to compare

1.2.0 (2019-09-03)

Features

  • Expose paramsCacheKey to consumers (5e653a6)

v1.1.1

03 Sep 02:44
5234f16
Compare
Choose a tag to compare

1.1.1 (2019-09-03)

Bug Fixes

  • resourceType is not exposed in types but is passed at runtime (f8f8267)

v1.1.0

23 Aug 04:05
2504df4
Compare
Choose a tag to compare

1.1.0 (2019-08-23)

Features

  • Added esm build and marked library as having no side effects (f7c4975)

v1.0.2

23 Aug 03:42
da92c8e
Compare
Choose a tag to compare

1.0.2 (2019-08-23)

Bug Fixes

  • The implementation of isPromise doesn't work properly with core-js (f19021d)

v1.0.1

28 May 02:29
ad74b93
Compare
Choose a tag to compare

1.0.1 (2019-05-28)

Bug Fixes

  • Replaced object-hash with hash-sum to hopefully get a more deterministic hash (c83b4e0)

v1.0.0

25 May 06:45
Compare
Choose a tag to compare

Initial release