@cervello/react 0.11.1 → 0.11.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +3 -2
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -180,8 +180,8 @@ import { store } from './other-example'
180
180
 
181
181
  const AddressChanger = () => {
182
182
  return (
183
- <button onClick={() => { store.address.street = 'New street' }}>
184
- Change street to Seville
183
+ <button onClick={() => { store.address.city = 'Seville' }}>
184
+ Change city to Seville
185
185
  </button>
186
186
  )
187
187
  }
@@ -194,6 +194,7 @@ import { useSelector } from './other-example'
194
194
  const Address = () => {
195
195
  const { address } = useSelector(['address'])
196
196
  const { street, city } = address
197
+
197
198
  return (
198
199
  <div>
199
200
  <span>{ street }</span>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cervello/react",
3
- "version": "0.11.1",
3
+ "version": "0.11.2",
4
4
  "description": "🤯 Simplest and truly reactive state manager for React",
5
5
  "main": "./dist/cervello.cjs",
6
6
  "module": "./dist/cervello.esm.js",