24 Commits

Author SHA1 Message Date
Abram
9b0cae2acd fix: set correct loading state if component is already loaded. (#64) 2018-04-18 17:27:26 +02:00
Greg Bergé
289ad67e3f
feat: support React.createContext API (#65) 2018-04-18 17:27:08 +02:00
Greg Bergé
e2de1c2daa
Merge pull request #61 from smooth-code/hoist-static-props
feat: attach static properties on load
2018-04-05 23:32:18 +02:00
Greg Bergé
d383fab8a8 feat: attach static properties on load
Closes #58
2018-04-05 23:27:05 +02:00
Greg Bergé
abd7963212 fix: React 16.3 compatibility
Closes #57
2018-04-05 23:20:36 +02:00
Andrey
96333ca228 fix: circular structure in error object (#60) 2018-04-05 23:05:22 +02:00
Greg Bergé
c79085eb93 feat: add Hot Reload support
Thanks to @likun7981 for the original idea!
2018-03-25 17:33:40 +00:00
Greg Bergé
3445bea834 fix(snapshot): fix snap usage
Closes #40
2018-02-06 10:27:08 +01:00
Greg Bergé
99e08c0ae7 feat: ship a single js file
Build is now done using Rollup.
2018-02-04 16:26:53 +01:00
Greg Bergé
a47c410882 fix: state could have no children
Fix #36
2018-02-04 10:43:05 +01:00
Greg Bergé
35f81a67c5 fix: fix loadComponents without valid state
Fix #34
2018-02-03 18:31:32 +01:00
Greg Bergé
1f951e2de4
Merge pull request #33 from smooth-code/v2
Stable version
2018-02-02 15:28:30 +01:00
Greg Bergé
601bd3442c feat: stable version 1
- Add a new `render` method to use render props pattern
- Fix all issues with SSR

BREAKING CHANGE: loadable-components/babel is now required if you do server side rendering.
BREAKING CHANGE: ErrorComponent now receive `ownProps` instead of `props`.
2018-02-02 15:24:21 +01:00
Samuel Hurel
582a15a2fa Export componentTracker & update doc 2017-12-02 20:56:23 +01:00
Greg Bergé
55ecf90170 feat: support snapshoting
Fix #20
2017-11-27 09:33:17 +00:00
Greg Bergé
712cbf3b35 feat: add React 16 support 2017-10-10 21:53:47 +00:00
Greg Bergé
9d7a8f4224 chore: upgrade dependencies 2017-08-09 09:52:24 +02:00
Greg Bergé
e67b5b2206 tests: add missing test 2017-07-16 15:50:01 +00:00
Nathan Lin
1361ff7bc1 Use Promise.resolve in the events no queries are found 2017-07-15 14:21:17 -07:00
Greg Bergé
5706e21352 feat: prevent multiple loads 2017-06-29 22:31:44 +02:00
Greg Bergé
087e29ea5b refactor: remove async/await
In order to not require regenerator/runtime.
2017-06-24 12:05:34 +02:00
Greg Bergé
be50463679 tests: fix tests 2017-06-23 16:06:04 +02:00
Greg Bergé
6c07a444eb refactor: rename exposed constant 2017-06-23 15:59:16 +02:00
Greg Bergé
3572df3048 First version 2017-06-23 15:34:04 +02:00