Skip to content

Releases: bowheart/react-zedux

v0.4.0

10 Mar 01:34
Compare
Choose a tag to compare
v0.4.0 Pre-release
Pre-release

Just some extra features and bug fixes

Changes:

  • Context.consume() and Context.inject() now also accept a storeFields-to-propNames map. This makes it easier to alias fields from different stores when consuming several of them.
  • Some typescript definition bug fixes.
  • Some doc and typescript tweaks.

v0.3.0

27 Feb 15:38
Compare
Choose a tag to compare
v0.3.0 Pre-release
Pre-release

Complete rewrite to support React's new context api! The React Zedux api is now heavily based on React's new context api. This makes it easier to learn. It also makes it easier to switch back and forth between React Zedux and React's own context api.

React Zedux also now supports turning any observable into a consumable Context.

Changes:

  • Everything
  • Created createContext() top-level export.
  • Created StoreApi top-level export.
  • Wrote tests for everything.
  • Wrote typescript typings for everything.
  • Wrote documentation for everything.
  • Created this gitbook for housing the React Zedux documentation!
  • Added support for observables.
  • Added support for Redux.

v0.2.0

15 Feb 20:24
Compare
Choose a tag to compare
v0.2.0 Pre-release
Pre-release

React Zedux now has two new features that facilitate some patterns I found emerging from my React Zedux usage.

Changes:

  • createStoreApi() - A new top-level React Zedux export. Call this with an object containing actors, selectors and hooks hashes as well as a store property to auto-bind stuff to the store and flatten the result into a single storeApi object.

  • withStores() now takes a second argument, mapStoresToProps. This can be used to prevent a component from re-rendering every time the store's state changes.

  • appropriate tests for that stuff 👆

Docs on all this coming soon!

v0.1.3

15 Feb 20:04
Compare
Choose a tag to compare
v0.1.3 Pre-release
Pre-release

Just a few improvements and bug fixes

Changes:

  • withStores() now throws an error if the given store id does not match any provided stores
  • Some component prop types were improved
  • Some doc fixes, of course

v0.1.2

21 Jan 07:35
Compare
Choose a tag to compare
v0.1.2 Pre-release
Pre-release

The rollup bundle was apparently including references to a babelHelpers object that was never defined. After updating some rollup packages, the problem went away. The babel helpers are now inlined appropriately.

Changes:

  • Upgraded rollup and rollup-plugin-babel packages.

v0.1.1

21 Jan 04:35
Compare
Choose a tag to compare
v0.1.1 Pre-release
Pre-release

We weren't depending on the prop-types package correctly. It was marked as an external package in the rollup config, so the validators weren't getting bundled in our builds. This made it an implicit dependency, which is just awful and we apologize.

Changes:

  • Removed prop-types from the external and globals fields in the rollup config file.
  • Added a few extra dev dependencies to bundle in the now non-external prop-types package.

v0.1.0

20 Jan 22:38
Compare
Choose a tag to compare
v0.1.0 Pre-release
Pre-release

The first pre-release! We are well on our way to v1.0.0!

The code should be stable enough. Feel free to use it in your React + Zedux projects. Be on the lookout for bugs and please submit them and any feedback to https://github.com/bowheart/react-zedux/issues

This is the start of React Zedux. Let's make it awesome! Happy coding!