diff --git a/examples/react_ex/.eslintrc b/examples/react_ex/.eslintrc new file mode 100644 index 0000000..0ce034b --- /dev/null +++ b/examples/react_ex/.eslintrc @@ -0,0 +1,13 @@ +{ + "extends": ["eslint:recommended", "plugin:react/recommended"], + "settings": { + "react": { + "version": "17.0.2" + } + }, + "rules": { + "no-extra-parens": 0, + "react/prop-types": 0, + "react/react-in-jsx-scope": 0 + } +} diff --git a/examples/react_ex/.gitignore b/examples/react_ex/.gitignore new file mode 100644 index 0000000..03e05e4 --- /dev/null +++ b/examples/react_ex/.gitignore @@ -0,0 +1,2 @@ +.DS_Store +/node_modules diff --git a/examples/react_ex/dist/app.bundle.js b/examples/react_ex/dist/app.bundle.js new file mode 100644 index 0000000..3eeab28 --- /dev/null +++ b/examples/react_ex/dist/app.bundle.js @@ -0,0 +1,3 @@ +/*! For license information please see app.bundle.js.LICENSE.txt */ +(()=>{var e,t,n={184:(e,t)=>{var n;!function(){"use strict";var r={}.hasOwnProperty;function l(){for(var e=[],t=0;t{"use strict";var t=Object.getOwnPropertySymbols,n=Object.prototype.hasOwnProperty,r=Object.prototype.propertyIsEnumerable;e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach((function(e){r[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(e){return!1}}()?Object.assign:function(e,l){for(var a,o,i=function(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}(e),u=1;u{"use strict";var r=n(294),l=n(418),a=n(840);function o(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n