Skip to content

Releases: exah/react-universal-data

4.1.2

10 May 14:31
Compare
Choose a tag to compare
  • ♻️ Bail out of update inside reducer cd83feb

4.1.1...4.1.2

4.1.1

09 May 23:17
Compare
Choose a tag to compare
  • 🚑 Handle updates with cache and same key 604f4b7

4.1.0...4.1.1

4.1.0

09 May 21:28
Compare
Choose a tag to compare

4.0.2...4.1.0

4.1.0-2

08 May 20:42
Compare
Choose a tag to compare
4.1.0-2 Pre-release
Pre-release
  • ⬆️ Bump deps 7ea5b47
  • 🔧 Remove .flowconfig 8c2befb
  • ♻️ Use cached value on server if possible bfe1118
  • ♻️ Do not delete cached value after initial render b278eb2

4.1.0-1...4.1.0-2

4.1.0-1

08 May 18:32
Compare
Choose a tag to compare
4.1.0-1 Pre-release
Pre-release
  • ♻️ Move "browser" logic to separate file, revert some store changes ede7b6a

4.1.0-0...4.1.0-1

4.1.0-0

07 May 11:16
Compare
Choose a tag to compare
4.1.0-0 Pre-release
Pre-release

4.0.2

26 Apr 17:52
Compare
Choose a tag to compare
  • 🚑 Do not update state after unmount 13ec788
  • 📝 Add custom hook example to README 0c1322d
  • 📦 Fix tagskeywords f2d196e

4.0.1...4.0.2

4.0.0

28 Mar 16:38
Compare
Choose a tag to compare

📝 Changes

  • ✨ Added useFetchData hooks and Suspense on server
  • ⚡️ Reduced bundle size from 4.5Kb → 600B
  • 🏷️ Rewritten in TypeScript
  • ✅ Fully tested
  • ⬆️ Updated deps to latest version
  • 💥 Removed withData HOC and static getData prop API
  • 🚚 Renamed hydrateDatahydrateInitialData
  • 💥 Replaced custom store with Map (internal)

✨ New hooks API:

function Foo() {
  const { isReady, isLoading, result, error } = useFetchData(resource, id)

  return <Bar {...result} />
}

3.0.1...4.0.0

4.0.0-6

22 Mar 23:18
Compare
Choose a tag to compare
4.0.0-6 Pre-release
Pre-release
  • 🧹 Remove old docs c704b0a
  • ✅ Add test for store and useFetchData hook 1e6ad60
  • 🚚 Rename useRUD -> useFetchData 2516778
  • 🔧 Fix size-limit config de98f60

4.0.0-5...4.0.0-6

4.0.0-5

22 Mar 11:30
Compare
Choose a tag to compare
4.0.0-5 Pre-release
Pre-release
  • ⚡ Optimise lib size ccddbe3
  • 💥 Replace custom data store with Map 7b05bf1
  • 💥 Remove HOCs, add RUD component 4fe9805
  • Add withRUD HOC 4a8b467

4.0.0-4...4.0.0-5