react-loadable
react-loadable copied to clipboard
:hourglass_flowing_sand: A higher order component for loading components with promises.
"React. CreateElement: type is invalid..." error will appear when using "vite" to package the react project The module obtained by using “import("xxx").then (module = > console.log (module))“ syntax in vite...
Support optional `ssr` option to allow `Loadable.preloadAll(true)` to only preload modules that are needed for SSR.
I run https://online-solitaire.com/, a website where more than 4 million solitaire games are played each month. I make pretty heavy use of react-loadable to speed up the site, so I...
…ect" not function "webpack": "^4.6.0", "babel-core": "^6.26.2", "babel-eslint": "^8.2.3", "babel-loader": "^7.1.4", "babel-plugin-add-module-exports": "^0.2.1", "babel-plugin-dva-hmr": "^0.4.1", "babel-plugin-import": "^1.7.0", "babel-plugin-syntax-dynamic-import": "^6.18.0", "babel-plugin-transform-async-to-generator": "^6.24.1", "babel-plugin-transform-decorators-legacy": "^1.3.4", "babel-plugin-transform-runtime": "^6.23.0", "babel-preset-env": "^1.6.1", "babel-preset-react": "^6.24.1", "babel-preset-stage-0":...
removed `componentWillMount` and moved `this._loadModule();` into `componentDidMount`. squashes the warning as `componentWillMount` was marked as `UNSAFE_componentWillMount()`.
upgrade webpack
Leading Commercial real Estate promoters
Hello dear maintainers, Please merge and publish this new code to omit the warning message. :pray: Thanks
React will soon [deprecate](https://reactjs.org/blog/2018/03/27/update-on-async-rendering.html#gradual-migration-path) `componentWillMount`, `componentWillReceiveProps` and `componentWillUpdate` methods due to their potential misuse, especially once async rendering is launched. In fact, enabling strict mode [already warns](https://reactjs.org/docs/strict-mode.html#identifying-unsafe-lifecycles) about these unsafe...