98 Commits

Author SHA1 Message Date
Anton Korzunov
82c7019502 v5.15.3 2023-01-28 15:28:30 +11:00
Anton Korzunov
66edc37a73 fix: add React 17 and 18 to package dependencies, fixes #718 2023-01-28 15:24:22 +11:00
Øyvind Saltvik
3ec9b64009
Added transformation of lazy (#925) 2022-12-05 16:57:26 +11:00
Anton Korzunov
711e4b6d31 v5.15.2 2021-12-12 18:33:43 +11:00
Anton Korzunov
56ef25623d format files 2021-12-12 18:33:14 +11:00
Anton Korzunov
45f2d9133c
fix: use stable promises for load/preload/React (#858) 2021-12-12 18:32:06 +11:00
Matej Vobornik
33cb54dfbb
cache promise on load/preload (#830) 2021-12-12 15:24:42 +11:00
jinasonlin
9ff66939ee
fix: loadAsync Loadable should copy statics (#839) 2021-09-26 13:46:05 +10:00
Anton Korzunov
e74b3c9d9d v5.15.0 2021-05-08 17:29:33 +10:00
Anton Korzunov
9305d03844 update node to v12 2021-05-08 17:26:03 +10:00
Will Van Rensselaer
d3513679ed
feat: support multiple Webpack runtimes (#701)
* feat: support multiple Webpack runtimes

* namespace chunk loading global in loadableReady

* Change namespace to chunkLoadingGlobal

* Update size snapshot
2021-04-05 15:54:30 +10:00
Emily Marigold Klassen
b640c82a74
fix: add displayNames to generated components (#731)
Co-authored-by: Emily Marigold Klassen <forivall@users.noreply.github.com>
2021-03-31 13:45:07 +11:00
Anton Korzunov
89cf124f90 v5.14.1 2020-10-22 19:10:34 +11:00
Anton Korzunov
d009008fef chore(lint): apply prettier 2020-10-22 19:07:35 +11:00
Anton Korzunov
1725a620c3
Fix sync resolution (#651)
* chore(tests): make breaking case for webpack4

* fix: loadableReady should not resolve synchronously, fixes #634

* chore(size): commit size change
2020-10-22 19:00:35 +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