All notable changes to this project will be documented in this file. See Conventional Commits for commit guidelines.
5.10.2 (2019-07-15)
5.10.1 (2019-05-14)
5.10.0 (2019-05-13)
- add
load
method that returns a Promise (#329) (a10a9d5), closes #226 - support reactive dynamic loadable (#330) (d65c5bb), closes #284
- optimize rollup config (c94760b)
5.9.0 (2019-04-23)
- support multiple react apps (#317) (dc54050), closes #311
- server: authorize custom filesystem (#318) (f2a6bbd), closes #315
5.8.0 (2019-04-10)
- ChunkExtractor: support publicPath override (#292) (9731e9c)
- server: support function in attributes (#277) (c172324)
5.7.2 (2019-03-20)
- babel-plugin: handle "-" at the end of request (c0f325b)
5.7.1 (2019-03-19)
- babel-plugin: handle special chars in file names (#279) (4da39ff)
- webpack-plugin: create output folder with mkdirp (#273) (3767f28)
5.7.0 (2019-03-14)
- component: fix warning message about babel (#255) (7cb68a1), closes #253
- server: fix loading order of assets (#266) (4c8ae60)
- use inline JSON to enabling CSP without
unsafe-inline
(05e5500)
5.6.1 (2019-02-25)
- component: better ES Modules handling (#228) (3628363)
- server: allow query-param cache busting in chunk names (#229) (71f7bcd)
- server: use
eval
to prevent webpack warning (#240) (948165d), closes #234 - suspense: fix suspense mode in React v16.8+ (#251) (d04e1c9)
5.6.0 (2019-02-05)
- babel-plugin: transform code annotated with magic comment (4f832dc), closes #192
- component: add preload method (#224) (4a67ace), closes #196
- server: add option to disable SSR (#223) (4cab4f9), closes #195
5.5.0 (2019-01-22)
5.4.0 (2019-01-17)
5.3.0 (2019-01-11)
5.2.2 (2018-12-12)
- babel-plugin: fix chunkName with aggressive code splitting (e974933), closes #182
- ensure that component is mounted before calling
setState
(#184) (fe0f47f), closes #180 - server: fix usage when compiled using webpack (#185) (5e28870), closes #181
5.2.1 (2018-11-27)
- webpack-plugin: fix TypeError when set writeToDisk true (#170) (2d1fb11)
- upgrade [email protected] (122b1ce)
5.2.0 (2018-11-23)
5.1.3 (2018-11-20)
- server: exclude http and https from regex (#155) (0bb2ad9), closes #153
- server: ignore *.hot-update.js (edcd2c8), closes #148
5.1.2 (2018-11-13)
- fix ref handler in
loadable.lib
(da05d87)
5.1.1 (2018-11-13)
5.1.0 (2018-11-10)
- server: add outputPath option in ChunkExtractor (aac26b3)
5.0.2 (2018-11-10)
- update peer dependencies (b0363dc)
5.0.0 (2018-11-10)
- fix loadableReady (59693bb)
- improve SSR support (eb1cfe8)
-
- SSR has been rewritten from scratch, if you use it, please follow the new guide.
- Prefetch component and prefetch functions have been removed, please
use
webpackPrefetch
instead.
4.0.5 (2018-11-01)
- server: fix getScriptElements (ba424e0)
4.0.4 (2018-10-31)
- fix peer dependencies (6816e8c)
4.0.3 (2018-10-31)
- server: disable common chunks optim (78e7b28)
4.0.2 (2018-10-31)
4.0.1 (2018-10-30)
- component: do not call ref several times (8cf3190)
4.0.0 (2018-10-30)
- add new loadable.lib, change API (94b2e87)
-
ErrorComponent
is ignored, please use Error Boundaries to handle errors.
lazy
is no longer exportedLoadingComponent
is replaced byfallback
optionref
are now forwarded
3.0.2 (2018-10-30)
- component: fix loadComponent (typo) (a410cb2)
3.0.1 (2018-10-30)
- component: fix loadComponents (bd2220c)
3.0.0 (2018-10-29)
- welcome loadable (4dffad7)
- API has completely changed, see documentation.
All notable changes to this project will be documented in this file. See standard-version for commit guidelines.
2.2.3 (2018-08-16)
2.2.2 (2018-05-25)
2.2.1 (2018-05-23)
2.2.0 (2018-05-23)
- experimental suspense 🤩 (57ce712)
2.1.0 (2018-05-13)
- add TypeScript definitions (#80) (db19796)
2.0.1 (2018-05-12)
2.0.0 (2018-05-10)
- do not propagate componentId (fff1248)
- remove HMR relative code (ef0817c)
setConfig
is no longer available.
1.4.0 (2018-04-18)
- set correct loading state if component is already loaded. (#64) (9b0cae2)
- support React.createContext API (#65) (289ad67)
1.3.0 (2018-04-06)
1.2.0 (2018-03-25)
- add Hot Reload support (c79085e)
1.1.1 (2018-02-06)
1.1.0 (2018-02-04)
- ship a single js file (99e08c0)
1.0.2 (2018-02-04)
1.0.1 (2018-02-03)
1.0.0 (2018-02-02)
- stable version 1 (601bd34)
- loadable-components/babel is now required if you do server side rendering.
- ErrorComponent now receive
ownProps
instead ofprops
.