Skip to content

Commit e7a1f85

Browse files
committed
docs(examples): update easy-state version [skip ci]
1 parent 0163659 commit e7a1f85

File tree

132 files changed

+4345
-2458
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

132 files changed

+4345
-2458
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
<a href="#platform-support-computer"><img src="images/browser_support.png" alt="Browser support" width="450px" height="auto" /></a>
1212

13-
**NEWS:** `react-easy-state` is moved under `@risingstack/react-easy-state` on npm with **no breaking changes**. Please switch to the new package to get the latest features and bug fixes. Thanks!
13+
**NEWS:** v6.3.0 fixed a nasty bug that could render [zombie children](https://react-redux.js.org/api/hooks#stale-props-and-zombie-children). Please update to this version at least to save yourself some headaches. Thanks!
1414

1515
<details>
1616
<summary><strong>Table of Contents</strong></summary>
@@ -271,7 +271,7 @@ export default view(() => (
271271
<details>
272272
<summary><strong>Wrap ALL of your components with <code>view</code> - including class and function ones - even if they don't seem to directly use a store.</strong></summary>
273273
<p></p>
274-
274+
275275
Every component that is using a store or part of a store inside its render must be wrapped with `view`. Sometimes store usage is not so explicit and easy to to miss.
276276

277277
```jsx
Lines changed: 16 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,22 @@
11
{
22
"files": {
33
"main.css": "/react-easy-state/examples/beer-finder/build/static/css/main.150d374a.chunk.css",
4-
"main.js": "/react-easy-state/examples/beer-finder/build/static/js/main.6b394069.chunk.js",
5-
"main.js.map": "/react-easy-state/examples/beer-finder/build/static/js/main.6b394069.chunk.js.map",
6-
"runtime~main.js": "/react-easy-state/examples/beer-finder/build/static/js/runtime~main.3f67b5d9.js",
7-
"runtime~main.js.map": "/react-easy-state/examples/beer-finder/build/static/js/runtime~main.3f67b5d9.js.map",
8-
"static/js/2.aca84a35.chunk.js": "/react-easy-state/examples/beer-finder/build/static/js/2.aca84a35.chunk.js",
9-
"static/js/2.aca84a35.chunk.js.map": "/react-easy-state/examples/beer-finder/build/static/js/2.aca84a35.chunk.js.map",
4+
"main.js": "/react-easy-state/examples/beer-finder/build/static/js/main.1d6354db.chunk.js",
5+
"main.js.map": "/react-easy-state/examples/beer-finder/build/static/js/main.1d6354db.chunk.js.map",
6+
"runtime-main.js": "/react-easy-state/examples/beer-finder/build/static/js/runtime-main.5a628cab.js",
7+
"runtime-main.js.map": "/react-easy-state/examples/beer-finder/build/static/js/runtime-main.5a628cab.js.map",
8+
"static/js/2.1dd53533.chunk.js": "/react-easy-state/examples/beer-finder/build/static/js/2.1dd53533.chunk.js",
9+
"static/js/2.1dd53533.chunk.js.map": "/react-easy-state/examples/beer-finder/build/static/js/2.1dd53533.chunk.js.map",
1010
"index.html": "/react-easy-state/examples/beer-finder/build/index.html",
11-
"precache-manifest.e3fd8ba2bbd42ce11c87f707569901bf.js": "/react-easy-state/examples/beer-finder/build/precache-manifest.e3fd8ba2bbd42ce11c87f707569901bf.js",
11+
"precache-manifest.a4f816da9af78d1eb5360e0a1c648d69.js": "/react-easy-state/examples/beer-finder/build/precache-manifest.a4f816da9af78d1eb5360e0a1c648d69.js",
1212
"service-worker.js": "/react-easy-state/examples/beer-finder/build/service-worker.js",
13-
"static/css/main.150d374a.chunk.css.map": "/react-easy-state/examples/beer-finder/build/static/css/main.150d374a.chunk.css.map"
14-
}
13+
"static/css/main.150d374a.chunk.css.map": "/react-easy-state/examples/beer-finder/build/static/css/main.150d374a.chunk.css.map",
14+
"static/js/2.1dd53533.chunk.js.LICENSE.txt": "/react-easy-state/examples/beer-finder/build/static/js/2.1dd53533.chunk.js.LICENSE.txt"
15+
},
16+
"entrypoints": [
17+
"static/js/runtime-main.5a628cab.js",
18+
"static/js/2.1dd53533.chunk.js",
19+
"static/css/main.150d374a.chunk.css",
20+
"static/js/main.1d6354db.chunk.js"
21+
]
1522
}

examples/beer-finder/build/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
<!doctype html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1,shrink-to-fit=no"><meta name="theme-color" content="#000000"><link rel="manifest" href="/react-easy-state/examples/beer-finder/build/manifest.json"><link rel="shortcut icon" href="/react-easy-state/examples/beer-finder/build/favicon.ico"><title>React App</title><link href="/react-easy-state/examples/beer-finder/build/static/css/main.150d374a.chunk.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div><script>!function(a){function e(e){for(var r,t,n=e[0],o=e[1],u=e[2],i=0,l=[];i<n.length;i++)t=n[i],p[t]&&l.push(p[t][0]),p[t]=0;for(r in o)Object.prototype.hasOwnProperty.call(o,r)&&(a[r]=o[r]);for(s&&s(e);l.length;)l.shift()();return c.push.apply(c,u||[]),f()}function f(){for(var e,r=0;r<c.length;r++){for(var t=c[r],n=!0,o=1;o<t.length;o++){var u=t[o];0!==p[u]&&(n=!1)}n&&(c.splice(r--,1),e=i(i.s=t[0]))}return e}var t={},p={1:0},c=[];function i(e){if(t[e])return t[e].exports;var r=t[e]={i:e,l:!1,exports:{}};return a[e].call(r.exports,r,r.exports,i),r.l=!0,r.exports}i.m=a,i.c=t,i.d=function(e,r,t){i.o(e,r)||Object.defineProperty(e,r,{enumerable:!0,get:t})},i.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.t=function(r,e){if(1&e&&(r=i(r)),8&e)return r;if(4&e&&"object"==typeof r&&r&&r.__esModule)return r;var t=Object.create(null);if(i.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:r}),2&e&&"string"!=typeof r)for(var n in r)i.d(t,n,function(e){return r[e]}.bind(null,n));return t},i.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return i.d(r,"a",r),r},i.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},i.p="/react-easy-state/examples/beer-finder/build/";var r=window.webpackJsonp=window.webpackJsonp||[],n=r.push.bind(r);r.push=e,r=r.slice();for(var o=0;o<r.length;o++)e(r[o]);var s=n;f()}([])</script><script src="/react-easy-state/examples/beer-finder/build/static/js/2.aca84a35.chunk.js"></script><script src="/react-easy-state/examples/beer-finder/build/static/js/main.6b394069.chunk.js"></script></body></html>
1+
<!doctype html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1,shrink-to-fit=no"><meta name="theme-color" content="#000000"><link rel="manifest" href="/react-easy-state/examples/beer-finder/build/manifest.json"><link rel="shortcut icon" href="/react-easy-state/examples/beer-finder/build/favicon.ico"><title>React App</title><link href="/react-easy-state/examples/beer-finder/build/static/css/main.150d374a.chunk.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div><script>!function(e){function r(r){for(var n,i,l=r[0],a=r[1],f=r[2],c=0,s=[];c<l.length;c++)i=l[c],Object.prototype.hasOwnProperty.call(o,i)&&o[i]&&s.push(o[i][0]),o[i]=0;for(n in a)Object.prototype.hasOwnProperty.call(a,n)&&(e[n]=a[n]);for(p&&p(r);s.length;)s.shift()();return u.push.apply(u,f||[]),t()}function t(){for(var e,r=0;r<u.length;r++){for(var t=u[r],n=!0,l=1;l<t.length;l++){var a=t[l];0!==o[a]&&(n=!1)}n&&(u.splice(r--,1),e=i(i.s=t[0]))}return e}var n={},o={1:0},u=[];function i(r){if(n[r])return n[r].exports;var t=n[r]={i:r,l:!1,exports:{}};return e[r].call(t.exports,t,t.exports,i),t.l=!0,t.exports}i.m=e,i.c=n,i.d=function(e,r,t){i.o(e,r)||Object.defineProperty(e,r,{enumerable:!0,get:t})},i.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.t=function(e,r){if(1&r&&(e=i(e)),8&r)return e;if(4&r&&"object"==typeof e&&e&&e.__esModule)return e;var t=Object.create(null);if(i.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:e}),2&r&&"string"!=typeof e)for(var n in e)i.d(t,n,function(r){return e[r]}.bind(null,n));return t},i.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return i.d(r,"a",r),r},i.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},i.p="/react-easy-state/examples/beer-finder/build/";var l=this["webpackJsonpbeer-finder"]=this["webpackJsonpbeer-finder"]||[],a=l.push.bind(l);l.push=r,l=l.slice();for(var f=0;f<l.length;f++)r(l[f]);var p=a;t()}([])</script><script src="/react-easy-state/examples/beer-finder/build/static/js/2.1dd53533.chunk.js"></script><script src="/react-easy-state/examples/beer-finder/build/static/js/main.1d6354db.chunk.js"></script></body></html>
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,26 @@
11
self.__precacheManifest = (self.__precacheManifest || []).concat([
22
{
3-
"revision": "8f3c76ca6f436ddb52d6290080739b9e",
3+
"revision": "00784bd91d5b8e277e5dfb166760dd39",
44
"url": "/react-easy-state/examples/beer-finder/build/index.html"
55
},
66
{
7-
"revision": "4f8586ecd924c7c35a93",
7+
"revision": "d9941695e22b868af942",
88
"url": "/react-easy-state/examples/beer-finder/build/static/css/main.150d374a.chunk.css"
99
},
1010
{
11-
"revision": "52bf3ae2686d69d7e604",
12-
"url": "/react-easy-state/examples/beer-finder/build/static/js/2.aca84a35.chunk.js"
11+
"revision": "e3d522a2ec82f007c3a8",
12+
"url": "/react-easy-state/examples/beer-finder/build/static/js/2.1dd53533.chunk.js"
1313
},
1414
{
15-
"revision": "4f8586ecd924c7c35a93",
16-
"url": "/react-easy-state/examples/beer-finder/build/static/js/main.6b394069.chunk.js"
15+
"revision": "5e9b6f5c16b720e8a86875f97734673e",
16+
"url": "/react-easy-state/examples/beer-finder/build/static/js/2.1dd53533.chunk.js.LICENSE.txt"
1717
},
1818
{
19-
"revision": "d62734216e332f75d766",
20-
"url": "/react-easy-state/examples/beer-finder/build/static/js/runtime~main.3f67b5d9.js"
19+
"revision": "d9941695e22b868af942",
20+
"url": "/react-easy-state/examples/beer-finder/build/static/js/main.1d6354db.chunk.js"
21+
},
22+
{
23+
"revision": "a82e0e9f7581a49002d1",
24+
"url": "/react-easy-state/examples/beer-finder/build/static/js/runtime-main.5a628cab.js"
2125
}
2226
]);

examples/beer-finder/build/service-worker.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
importScripts("https://storage.googleapis.com/workbox-cdn/releases/4.3.1/workbox-sw.js");
1515

1616
importScripts(
17-
"/react-easy-state/examples/beer-finder/build/precache-manifest.e3fd8ba2bbd42ce11c87f707569901bf.js"
17+
"/react-easy-state/examples/beer-finder/build/precache-manifest.a4f816da9af78d1eb5360e0a1c648d69.js"
1818
);
1919

2020
self.addEventListener('message', (event) => {
@@ -35,5 +35,5 @@ workbox.precaching.precacheAndRoute(self.__precacheManifest, {});
3535

3636
workbox.routing.registerNavigationRoute(workbox.precaching.getCacheKeyForURL("/react-easy-state/examples/beer-finder/build/index.html"), {
3737

38-
blacklist: [/^\/_/,/\/[^\/]+\.[^\/]+$/],
38+
blacklist: [/^\/_/,/\/[^/?]+\.[^/]+$/],
3939
});

examples/beer-finder/build/static/css/main.150d374a.chunk.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

examples/beer-finder/build/static/css/main.150d374a.chunk.css.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

examples/beer-finder/build/static/js/2.1dd53533.chunk.js

Lines changed: 3 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
/*
2+
object-assign
3+
(c) Sindre Sorhus
4+
@license MIT
5+
*/
6+
7+
/*!
8+
Copyright (c) 2017 Jed Watson.
9+
Licensed under the MIT License (MIT), see
10+
http://jedwatson.github.io/classnames
11+
*/
12+
13+
/**
14+
* A better abstraction over CSS.
15+
*
16+
* @copyright Oleg Isonen (Slobodskoi) / Isonen 2014-present
17+
* @website https://github.com/cssinjs/jss
18+
* @license MIT
19+
*/
20+
21+
/** @license React v0.19.1
22+
* scheduler.production.min.js
23+
*
24+
* Copyright (c) Facebook, Inc. and its affiliates.
25+
*
26+
* This source code is licensed under the MIT license found in the
27+
* LICENSE file in the root directory of this source tree.
28+
*/
29+
30+
/** @license React v16.13.1
31+
* react-dom.production.min.js
32+
*
33+
* Copyright (c) Facebook, Inc. and its affiliates.
34+
*
35+
* This source code is licensed under the MIT license found in the
36+
* LICENSE file in the root directory of this source tree.
37+
*/
38+
39+
/** @license React v16.13.1
40+
* react-is.production.min.js
41+
*
42+
* Copyright (c) Facebook, Inc. and its affiliates.
43+
*
44+
* This source code is licensed under the MIT license found in the
45+
* LICENSE file in the root directory of this source tree.
46+
*/
47+
48+
/** @license React v16.13.1
49+
* react.production.min.js
50+
*
51+
* Copyright (c) Facebook, Inc. and its affiliates.
52+
*
53+
* This source code is licensed under the MIT license found in the
54+
* LICENSE file in the root directory of this source tree.
55+
*/

examples/beer-finder/build/static/js/2.1dd53533.chunk.js.map

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

examples/beer-finder/build/static/js/2.aca84a35.chunk.js

Lines changed: 0 additions & 2 deletions
This file was deleted.

examples/beer-finder/build/static/js/2.aca84a35.chunk.js.map

Lines changed: 0 additions & 1 deletion
This file was deleted.

examples/beer-finder/build/static/js/main.1d6354db.chunk.js

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)