Skip to content

Commit

Permalink
docs(examples): update easy-state version [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
solkimicreb committed Apr 24, 2020
1 parent 0163659 commit e7a1f85
Show file tree
Hide file tree
Showing 132 changed files with 4,345 additions and 2,458 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

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

**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!
**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!

<details>
<summary><strong>Table of Contents</strong></summary>
Expand Down Expand Up @@ -271,7 +271,7 @@ export default view(() => (
<details>
<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>
<p></p>

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.

```jsx
Expand Down
25 changes: 16 additions & 9 deletions examples/beer-finder/build/asset-manifest.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,22 @@
{
"files": {
"main.css": "/react-easy-state/examples/beer-finder/build/static/css/main.150d374a.chunk.css",
"main.js": "/react-easy-state/examples/beer-finder/build/static/js/main.6b394069.chunk.js",
"main.js.map": "/react-easy-state/examples/beer-finder/build/static/js/main.6b394069.chunk.js.map",
"runtime~main.js": "/react-easy-state/examples/beer-finder/build/static/js/runtime~main.3f67b5d9.js",
"runtime~main.js.map": "/react-easy-state/examples/beer-finder/build/static/js/runtime~main.3f67b5d9.js.map",
"static/js/2.aca84a35.chunk.js": "/react-easy-state/examples/beer-finder/build/static/js/2.aca84a35.chunk.js",
"static/js/2.aca84a35.chunk.js.map": "/react-easy-state/examples/beer-finder/build/static/js/2.aca84a35.chunk.js.map",
"main.js": "/react-easy-state/examples/beer-finder/build/static/js/main.1d6354db.chunk.js",
"main.js.map": "/react-easy-state/examples/beer-finder/build/static/js/main.1d6354db.chunk.js.map",
"runtime-main.js": "/react-easy-state/examples/beer-finder/build/static/js/runtime-main.5a628cab.js",
"runtime-main.js.map": "/react-easy-state/examples/beer-finder/build/static/js/runtime-main.5a628cab.js.map",
"static/js/2.1dd53533.chunk.js": "/react-easy-state/examples/beer-finder/build/static/js/2.1dd53533.chunk.js",
"static/js/2.1dd53533.chunk.js.map": "/react-easy-state/examples/beer-finder/build/static/js/2.1dd53533.chunk.js.map",
"index.html": "/react-easy-state/examples/beer-finder/build/index.html",
"precache-manifest.e3fd8ba2bbd42ce11c87f707569901bf.js": "/react-easy-state/examples/beer-finder/build/precache-manifest.e3fd8ba2bbd42ce11c87f707569901bf.js",
"precache-manifest.a4f816da9af78d1eb5360e0a1c648d69.js": "/react-easy-state/examples/beer-finder/build/precache-manifest.a4f816da9af78d1eb5360e0a1c648d69.js",
"service-worker.js": "/react-easy-state/examples/beer-finder/build/service-worker.js",
"static/css/main.150d374a.chunk.css.map": "/react-easy-state/examples/beer-finder/build/static/css/main.150d374a.chunk.css.map"
}
"static/css/main.150d374a.chunk.css.map": "/react-easy-state/examples/beer-finder/build/static/css/main.150d374a.chunk.css.map",
"static/js/2.1dd53533.chunk.js.LICENSE.txt": "/react-easy-state/examples/beer-finder/build/static/js/2.1dd53533.chunk.js.LICENSE.txt"
},
"entrypoints": [
"static/js/runtime-main.5a628cab.js",
"static/js/2.1dd53533.chunk.js",
"static/css/main.150d374a.chunk.css",
"static/js/main.1d6354db.chunk.js"
]
}
2 changes: 1 addition & 1 deletion examples/beer-finder/build/index.html
Original file line number Diff line number Diff line change
@@ -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>
<!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 number Diff line number Diff line change
@@ -1,22 +1,26 @@
self.__precacheManifest = (self.__precacheManifest || []).concat([
{
"revision": "8f3c76ca6f436ddb52d6290080739b9e",
"revision": "00784bd91d5b8e277e5dfb166760dd39",
"url": "/react-easy-state/examples/beer-finder/build/index.html"
},
{
"revision": "4f8586ecd924c7c35a93",
"revision": "d9941695e22b868af942",
"url": "/react-easy-state/examples/beer-finder/build/static/css/main.150d374a.chunk.css"
},
{
"revision": "52bf3ae2686d69d7e604",
"url": "/react-easy-state/examples/beer-finder/build/static/js/2.aca84a35.chunk.js"
"revision": "e3d522a2ec82f007c3a8",
"url": "/react-easy-state/examples/beer-finder/build/static/js/2.1dd53533.chunk.js"
},
{
"revision": "4f8586ecd924c7c35a93",
"url": "/react-easy-state/examples/beer-finder/build/static/js/main.6b394069.chunk.js"
"revision": "5e9b6f5c16b720e8a86875f97734673e",
"url": "/react-easy-state/examples/beer-finder/build/static/js/2.1dd53533.chunk.js.LICENSE.txt"
},
{
"revision": "d62734216e332f75d766",
"url": "/react-easy-state/examples/beer-finder/build/static/js/runtime~main.3f67b5d9.js"
"revision": "d9941695e22b868af942",
"url": "/react-easy-state/examples/beer-finder/build/static/js/main.1d6354db.chunk.js"
},
{
"revision": "a82e0e9f7581a49002d1",
"url": "/react-easy-state/examples/beer-finder/build/static/js/runtime-main.5a628cab.js"
}
]);
4 changes: 2 additions & 2 deletions examples/beer-finder/build/service-worker.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
importScripts("https://storage.googleapis.com/workbox-cdn/releases/4.3.1/workbox-sw.js");

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

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

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

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

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions examples/beer-finder/build/static/js/2.1dd53533.chunk.js

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
/*
object-assign
(c) Sindre Sorhus
@license MIT
*/

/*!
Copyright (c) 2017 Jed Watson.
Licensed under the MIT License (MIT), see
http://jedwatson.github.io/classnames
*/

/**
* A better abstraction over CSS.
*
* @copyright Oleg Isonen (Slobodskoi) / Isonen 2014-present
* @website https://github.com/cssinjs/jss
* @license MIT
*/

/** @license React v0.19.1
* scheduler.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/

/** @license React v16.13.1
* react-dom.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/

/** @license React v16.13.1
* react-is.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/

/** @license React v16.13.1
* react.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/

Large diffs are not rendered by default.

2 changes: 0 additions & 2 deletions examples/beer-finder/build/static/js/2.aca84a35.chunk.js

This file was deleted.

This file was deleted.

2 changes: 2 additions & 0 deletions examples/beer-finder/build/static/js/main.1d6354db.chunk.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit e7a1f85

Please sign in to comment.