zustand-di

dependency injection for zustand with react context. initialize stores with component props. <400 bytes

Downloads
466
Stars
17
Committers
1

Bot releases are hidden (Show)

zustand-di - v0.0.14 - Byte Shave Latest Release

Published by charkour 10 months ago

What's Changed

Full Changelog: https://github.com/charkour/zustand-di/compare/v0.0.13...v0.0.14

zustand-di - v0.0.13

Published by charkour 10 months ago

What's Changed

Full Changelog: https://github.com/charkour/zustand-di/compare/v0.0.12...v0.0.13

zustand-di - v0.0.11

Published by charkour 10 months ago

Release Notes

  • v0.0.9 switched the default type to ESM instead of CJS. This fixes those changes.

What's Changed

Full Changelog: https://github.com/charkour/zustand-di/compare/v0.0.10...v0.0.11

zustand-di - v0.0.10 - Use a monorepo to reduce install size of module

Published by charkour 10 months ago

Release notes

  • By removing lines from the root package.json, we were able to reduce the install size
  • We also lowered the install size by removing the readme.md from the installed package

What's Changed

Full Changelog: https://github.com/charkour/zustand-di/compare/v0.0.9...v0.0.10

zustand-di - v0.0.9 - CJS and ESM support

Published by charkour 10 months ago

Previously, ESM was only supported. Now CJS is supported too.

What's Changed

Full Changelog: https://github.com/charkour/zustand-di/compare/v0.0.8...v0.0.9

zustand-di - v0.0.8 - Fix TS issues from last release

Published by charkour about 1 year ago

What's Changed

Full Changelog: https://github.com/charkour/zustand-di/compare/v0.0.7...v0.0.8

zustand-di - v0.0.7 - zustand traditional

Published by charkour about 1 year ago

Switch to use import { useStoreWithEqualityFn } from "zustand/traditional"; to support zustand v4.4.0 and above.

What's Changed

New Contributors

Full Changelog: https://github.com/charkour/zustand-di/compare/v0.0.6...v0.0.7

zustand-di - v0.0.6

Published by charkour almost 2 years ago

  • Only initialize context once

Full Changelog: https://github.com/charkour/zustand-di/compare/v0.0.5...v0.0.6

zustand-di - v0.0.5

Published by charkour almost 2 years ago

zustand-di - v0.0.4

Published by charkour almost 2 years ago

  • Simplify types and code

Full Changelog: https://github.com/charkour/zustand-di/compare/v0.0.3...v0.0.4

zustand-di - v0.0.3

Published by charkour almost 2 years ago

zustand-di - v0.0.2

Published by charkour almost 2 years ago

  • Add optional dependencies

Full Changelog: https://github.com/charkour/zustand-di/compare/v0.0.1...v0.0.2

zustand-di - v0.0.1

Published by charkour almost 2 years ago