Comparing version 0.8.3 to 0.8.4
# Change Log | ||
This project adheres to [Semantic Versioning](http://semver.org/). | ||
## 0.8.4 | ||
* Fix Preact `connect()` decorator (by Hadeeb Farhan). | ||
## 0.8.3 | ||
@@ -5,0 +8,0 @@ * Fix Preact `useEffect` re-render issue (by Maksim Karelov). |
{ | ||
"name": "storeon", | ||
"version": "0.8.3", | ||
"version": "0.8.4", | ||
"description": "Tiny (173 bytes) event-based Redux-like state manager for React and Preact", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -10,8 +10,5 @@ var Preact = require('preact') | ||
return function (originProps) { | ||
var props = useStoreon.apply(null, keys) | ||
for (var i in originProps) { | ||
if (!(i in props)) props[i] = originProps[i] | ||
} | ||
var props = Object.assign({ }, originProps, useStoreon.apply(null, keys)) | ||
return Preact.h(Component, props) | ||
} | ||
} |
@@ -6,3 +6,4 @@ # Storeon | ||
A tiny event-based Redux-like state manager for React and Preact. | ||
A tiny event-based Redux-like state manager for **React**, **Preact**, | ||
**[Angular]**, and **[Svelte]**. | ||
@@ -13,3 +14,3 @@ * **Small.** 173 bytes (minified and gzipped). No dependencies. | ||
only components based on the changes. | ||
* **Hooks.** The same Redux reducers. With hooks for **React** and **Preact**. | ||
* **Hooks.** The same Redux reducers. | ||
* **Modular.** API created to move business logic away from React components. | ||
@@ -56,2 +57,4 @@ | ||
[Size Limit]: https://github.com/ai/size-limit | ||
[Angular]: https://github.com/storeon/angular | ||
[Svelte]: https://github.com/storeon/svelte | ||
@@ -66,4 +69,11 @@ <a href="https://evilmartians.com/?utm_source=storeon"> | ||
* [`@storeon/router`](https://github.com/storeon/router) | ||
tracks links and Back button click and allows you to open | ||
pages without reloading the whole page. | ||
* [`@storeon/localstorage`](https://github.com/storeon/localstorage) | ||
to save/restore state to `localStorage`. | ||
saves and restores state to `localStorage`. | ||
* [`@storeon/crosstab`](https://github.com/storeon/crosstab) | ||
synchronizes events between browser tabs. | ||
* [`@storeon/undo`](https://github.com/storeon/undo) | ||
allows undoing or redoing the latest event. | ||
@@ -70,0 +80,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
26850
296
436