15 Commits

Author SHA1 Message Date
Greg Bergé
d711ee0c60 fix(component): fix lazy usage
It seems like a breaking change but the library has been released
yesterday, so I will not publish a new major again.
2018-10-31 13:52:28 +01:00
Greg Bergé
ae51b16411 v4.0.1 2018-10-30 18:12:41 +01:00
Greg Bergé
8cf3190dce fix(component): do not call ref several times 2018-10-30 18:12:24 +01:00
Greg Bergé
ef88fe5110 v4.0.0 2018-10-30 17:17:16 +01:00
Greg Bergé
30644014d5 chore: upgrade deps 2018-10-30 17:17:01 +01:00
Greg Bergé
8233f38edc
Merge pull request #127 from smooth-code/wip-loadable-library
feat: add new loadable.lib, change API
2018-10-30 17:16:10 +01:00
Greg Bergé
94b2e87e56 feat: add new loadable.lib, change API
BREAKING CHANGE:

- `ErrorComponent` is ignored, please use Error Boundaries to handle errors.
- `lazy` is no longer exported
- `LoadingComponent` is replaced by `fallback` option
- `ref` are now forwarded
2018-10-30 17:12:57 +01:00
Greg Bergé
84c4b8a517 v3.0.2 2018-10-30 15:06:27 +01:00
Greg Bergé
a410cb2c45 fix(component): fix loadComponent (typo) 2018-10-30 15:06:06 +01:00
Greg Bergé
c61681d5fc v3.0.1 2018-10-30 14:59:46 +01:00
Greg Bergé
cdbbbeba87 chore(pkg): do not include rollup.config.js in npm package 2018-10-30 14:18:55 +01:00
Greg Bergé
bd2220c320 fix(component): fix loadComponents
Ignore missing type errors
2018-10-30 14:18:17 +01:00
Greg Bergé
5870f0c39a v3.0.0 2018-10-29 13:13:43 +01:00
Greg Bergé
1dd9610acc chore(pkg): add access public 2018-10-29 13:13:30 +01:00
Greg Bergé
4dffad7bd2 feat: welcome loadable
BREAKING CHANGE: API has completely changed, see documentation.
2018-10-29 13:04:07 +01:00