448 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
daac26fee8 chore(tests): make breaking case for webpack4 2020-10-22 18:50:18 +11:00
Anton Korzunov
c000d24eb9
chore(tests): build examples during CI (#646) 2020-10-21 18:45:11 +11:00
Anton Korzunov
d84ca53cf1 chore(lint): fix linting 2020-10-21 18:31:57 +11:00
Anton Korzunov
facc3a602b update typescript example 2020-10-21 10:14:39 +11:00
Anton Korzunov
08f76e4411 update examples 2020-10-21 09:55:35 +11:00
Anton Korzunov
51baf955a8 v5.14.0 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
575fe2b3f5 fix: treat mjs as script 2020-10-20 23:22:09 +11:00
Anton Korzunov
37162480a4 chore(examples): add pure webpack4 and webpack5 examples 2020-10-20 23:21:44 +11:00
Anton Korzunov
4d38a98937
Update README.md 2020-10-14 12:00:29 +11:00
Valentin Semirulnik
63fd151051
add async-node example (#575) 2020-10-14 11:59:54 +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
Xingwang Liao
25b532eb53
fix: add key to chunks script elements (#631)
fix #628
2020-09-17 12:18:47 +10:00
Anton Korzunov
94e0c424c9 v5.13.2 v5.13.2 2020-09-14 19:38:24 +10:00
Anton Korzunov
49e81dd756 Merge branch 'master' of github.com:smooth-code/loadable-components into master 2020-09-11 20:45:29 +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
Anton Korzunov
b86bb82417 fix: human readable errors 2020-09-05 13:33:44 +10:00
Anton Korzunov
e540f5f196 fix typo #595 2020-09-05 13:24:01 +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
10507daaa5
Merge pull request #624 from piperchester/patch-1
fix: typo
2020-09-05 09:51:27 +10:00
Piper
bebb82811e
fix: typo 2020-09-04 15:26:57 -07:00
Anton Korzunov
12a47ac1a4
Merge pull request #600 from gregberge/dependabot/npm_and_yarn/website/lodash-4.17.19
chore(deps): bump lodash from 4.17.15 to 4.17.19 in /website
2020-09-03 08:18:47 +10:00
Anton Korzunov
ee4c481a5f
Merge pull request #610 from gregberge/dependabot/npm_and_yarn/website/prismjs-1.21.0
chore(deps): bump prismjs from 1.20.0 to 1.21.0 in /website
2020-09-03 08:18:39 +10:00
Anton Korzunov
ba7e0939c7
Merge pull request #622 from gregberge/dependabot/npm_and_yarn/bl-3.0.1
chore(deps): bump bl from 3.0.0 to 3.0.1
2020-09-03 08:18:35 +10:00
Anton Korzunov
a5869978e6
Merge pull request #607 from markwoodward23/fix-get-script-elements
Fix: #592
2020-09-03 08:17:51 +10:00
dependabot[bot]
33984ef963
chore(deps): bump bl from 3.0.0 to 3.0.1
Bumps [bl](https://github.com/rvagg/bl) from 3.0.0 to 3.0.1.
- [Release notes](https://github.com/rvagg/bl/releases)
- [Commits](https://github.com/rvagg/bl/compare/v3.0.0...v3.0.1)

Signed-off-by: dependabot[bot] <support@github.com>
2020-09-02 15:35:57 +00:00
Anton Korzunov
8d29fef8f0
Merge pull request #614 from justin808/patch-2
Update faq.mdx with link to React on Rails Pro
2020-08-17 08:25:55 +10:00
Justin Gordon
96cb455c59
Update faq.mdx 2020-08-16 10:57:07 -10:00
dependabot[bot]
3460297955
chore(deps): bump prismjs from 1.20.0 to 1.21.0 in /website
Bumps [prismjs](https://github.com/PrismJS/prism) from 1.20.0 to 1.21.0.
- [Release notes](https://github.com/PrismJS/prism/releases)
- [Changelog](https://github.com/PrismJS/prism/blob/master/CHANGELOG.md)
- [Commits](https://github.com/PrismJS/prism/compare/v1.20.0...v1.21.0)

Signed-off-by: dependabot[bot] <support@github.com>
2020-08-07 23:46:52 +00:00
Mark Woodward
4ddcaceb9f docs: update contributing 2020-08-04 08:26:08 +01:00
Mark Woodward
95e6ecb0dd fix: spread nested required chunks array 2020-08-04 08:25:46 +01:00
dependabot[bot]
b5f7dac954
chore(deps): bump lodash from 4.17.15 to 4.17.19 in /website
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.15 to 4.17.19.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.15...4.17.19)

Signed-off-by: dependabot[bot] <support@github.com>
2020-07-19 00:18:15 +00:00
Greg Bergé
664cfa148a
docs(website): fix ads display 2020-07-11 10:29:50 +02:00
Greg Bergé
d5eea1db09
docs(website): fix style blink 2020-07-07 10:39:08 +02:00
Greg Bergé
3b7c20b4f5
docs(website): fix ads display on dark mode 2020-07-07 09:43:01 +02:00
Greg Bergé
787d90168e
docs: use Carbon ads on website 2020-07-07 09:28:41 +02:00
Anton Korzunov
cd5113cc34 apply prettier 2020-07-02 17:47:13 +10:00
Anton Korzunov
0de30e2374 remove node10 from travis (uses old snapshots) 2020-07-02 17:45:23 +10:00
Anton Korzunov
8cf392d124 v5.13.1 v5.13.1 2020-07-02 17:40:10 +10:00
Anton Korzunov
dd9e905933
Merge pull request #589 from gregberge/fix-chunk-numbers
hotfix: chunk numbers
2020-07-02 17:37: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 v5.13.0 2020-06-29 19:18:14 +10:00
Anton Korzunov
f958067650 use resolve component to fix moment SSR example 2020-06-29 19:00:44 +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
6ea00c4c2b
Merge pull request #568 from gregberge/async-558
Allow webpack cache isReady only for initial chunks
2020-06-07 10:24:15 +10:00