85 Commits

Author SHA1 Message Date
Anton Korzunov
363623e54d chore(size): commit size change 2020-10-22 18:51:51 +11:00
Anton Korzunov
50435248e3 fix: loadableReady should not resolve synchronously, fixes #634 2020-10-22 18:51:38 +11:00
Anton Korzunov
51baf955a8 v5.14.0 2020-10-20 23:23:47 +11:00
Anton Korzunov
787e29e9c4 commit size snapshot 2020-10-20 23:23:06 +11:00
Anton Korzunov
b4151d85b3
fix: do not derive cache key if component is static, fixes #629 (#630) 2020-10-12 21:31:16 +11:00
Stephane ROBINO
e882e4d812
feat: make packages webpack 5 compatible (#638)
Signed-off-by: Stéphane Robino <stephane@wttj.co>
Signed-off-by: Robert Douglas <robert@wttj.co>
2020-10-12 20:47:34 +11:00
Anton Korzunov
94e0c424c9 v5.13.2 2020-09-14 19:38:24 +10:00
Anton Korzunov
c9d1663577
Preparing release 5.14 (#625)
* fix typo #595

* fix: human readable errors

* remove babel-plugin-bind

* abstract stub creation in tests

* apply prettier

* decouple async load and require

* linting
2020-09-09 17:39:58 +10:00
kamikazePT
42fbdd0d55
fix: Fixed lazy usage with Suspense and Error Boundary together (#521)
* Fixed lazy usage with Suspense and Error Boundary together

* Typo

* v1.0.0-fork

* accidental push

* Condition was reversed

* Fixed Suspense with full dynamic import after fulfilled promise

* Added unit test

* cached promise

* added tests for multiple elements of same async component

* renamed unit test

* added retryable error boundary

* reworked tests

* Retrying working for lazy and loadable

* linter should run on pre-commit... :/

* upped max bundle size

* fix: Fixed suspense tests and fixed un-throwable pending promises when using suspense

* refactor: removed unnecessary wait in test

* test: fixed test regarding nested suspense

* test: fixed fucked up assertion

* fix: fixed weird corner case on error boundary not being reached

* feat: removed proxy

* fix: removed unnecessary code

* fix: fixed unnecesssary stack of callbacks
2020-09-05 10:09:22 +10:00
Anton Korzunov
cd5113cc34 apply prettier 2020-07-02 17:47:13 +10:00
Anton Korzunov
8cf392d124 v5.13.1 2020-07-02 17:40:10 +10:00
Anton Korzunov
4a0879ab31 cleanup 2020-07-02 17:26:43 +10:00
Anton Korzunov
831aec0315 fix: expose used chunkNames from a server. Fixes #587 2020-07-02 17:19:11 +10:00
Anton Korzunov
fb0cc38902 v5.13.0 2020-06-29 19:18:14 +10:00
Anton Korzunov
ac5ba84cc0 synchronize snapshots after merging multiple PRs 2020-06-29 18:37:47 +10:00
Anton Korzunov
37d80f2944
Merge pull request #483 from hedgepigdaniel/feat/named-exports
Add support for named exports
2020-06-27 18:59:36 +10:00
Anton Korzunov
213679c730 linting 2020-05-15 17:48:29 +10:00
Anton Korzunov
61f8b75b54 fix: allow webpack cache is ready only for initial chunks, fixes #558 2020-05-14 12:26:38 +10:00
Daniel Playfair Cal
a47d3d9021 feat: add resolveComponent option
`resolveComponent` is a synchronous function to resolve the react
component from the imported module and props. Unlike wrappers on the
import function itself, it works on both the client and server side.
2020-01-10 10:14:14 +11:00
Greg Bergé
ac1928f419
chore: fix .npmignore & ignore .size-snapshot.json 2020-01-09 20:47:26 +01:00
Greg Bergé
5e6e080704
v5.12.0 2020-01-09 20:44:14 +01:00
Greg Bergé
08a23a0bfe
chore: upgrade deps 2020-01-09 20:14:32 +01:00
Joe Bateson
338bf555ad feat: avoid synchronous loading on client if options.ssr is false (#346) 2020-01-09 20:01:06 +01:00
Anton Korzunov
ac5ba45862 fix: apply loadable transformations before any other, fixes #466 2020-01-03 08:31:50 +11:00
Greg Bergé
c0f704bf92
chore: update funding 2019-12-06 15:06:35 +01:00
Greg Bergé
2c6bc5156d
v5.11.0 2019-12-02 11:50:19 +01:00
Greg Bergé
29963d5130
chore: upgrade dependencies (#468) 2019-12-02 11:49:21 +01:00
Anton Korzunov
30243482be fix: fix isReady problem (#445)
Closes #400
2019-12-02 11:37:38 +01:00
Greg Bergé
38ce5f0b5a
v5.10.3 2019-09-24 20:17:54 +02:00
Greg Bergé
7faea45282
chore: upgrade deps 2019-09-18 21:53:36 +02:00
Greg Bergé
f1e75b6c8b
chore: upgrade dependencies (#422) 2019-08-28 12:32:36 +04:00
Haroen Viaene
80ee809f1c fix: support IE 11 without polyfill (#416)
Fixes #397
2019-08-28 11:06:18 +04:00
Greg Bergé
0797993883
chore: upgrade size snapshot 2019-07-15 10:41:29 +02:00
Greg Bergé
1281ad3c5e
v5.10.2 2019-07-15 10:40:02 +02:00
Greg Bergé
c88cd829a5
fix: use === instead of Object.is
Closes #371
2019-07-15 10:36:34 +02:00
Greg Bergé
36708e6227
chore: upgrade dependencies 2019-07-15 10:36:01 +02:00
Greg Bergé
c82293db57
chore: upgrade deps (#361) 2019-06-06 15:18:31 +02:00
Greg Bergé
62adb11cc5
v5.10.1 2019-05-14 10:02:58 +02:00
Greg Bergé
8b50c9473e
fix: add @babel/preset-env in rollup config (#336)
Closes #335
2019-05-14 10:01:54 +02:00
Greg Bergé
a47a635dd0
v5.10.0 2019-05-13 09:58:02 +02:00
Greg Bergé
34dc1aac00 tests: remove warning 2019-05-13 09:52:48 +02:00
Greg Bergé
c94760b080 perf: optimize rollup config
Also remove warning from `load` and `preload` methods.
2019-05-13 09:52:48 +02:00
Greg Bergé
d65c5bb924
feat: support reactive dynamic loadable (#330)
Closes #284
2019-05-12 19:47:59 +02:00
Greg Bergé
a10a9d5f46
feat: add load method that returns a Promise (#329)
See #226 for context
2019-05-09 19:47:56 +02:00
Greg Bergé
82ed859b3f v5.9.0 2019-04-23 16:11:22 +02:00
Deepak Pai
dc540500f9 feat: support multiple react apps (#317)
Closes #311
2019-04-23 14:45:15 +02:00
Greg Bergé
6090e8affb v5.7.0 2019-03-14 08:08:15 +01:00
ambar
05e55000ab feat: use inline JSON to enabling CSP without unsafe-inline 2019-03-10 22:02:13 +01:00
zhipenglin
7cb68a138f fix(component): fix warning message about babel (#255)
Fix #253
2019-03-04 13:51:36 +01:00
Greg Bergé
387da2688b v5.6.1 2019-02-25 08:33:40 +01:00