433 Commits

Author SHA1 Message Date
Anton Korzunov
79aa01a8c9 fix: do not derive cache key if component is static, fixes #629 2020-09-16 16:51:12 +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
Anton Korzunov
e4a7574208
Merge pull request #552 from kaysonwu/master
fix custom webpackChunkName for aggressive import
2020-06-06 09:11:37 +10:00
Anton Korzunov
c6c3086979
Merge pull request #567 from gregberge/cache-560
fix: memory leak in module cache management, fixes #560
2020-06-06 09:01:03 +10:00
Anton Korzunov
c618c41a9f
Merge pull request #576 from tomkelsey/preload-styles-first
Sort preload assets so that styles are first
2020-06-06 09:00:29 +10:00
Anton Korzunov
5da0c38d3e
Merge pull request #582 from djtriptych/patch-1
Grammar + spelling.
2020-06-06 08:58:26 +10:00
Kenan Banks
ff809cbc05
Grammar + spelling. 2020-06-05 16:42:58 -04:00
Tom
41f862c44c Put style assets first 2020-05-29 12:51:05 +01: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
Anton Korzunov
6c11703cbc fix: memory leak in module cache management, fixes #560 2020-05-14 09:32:24 +10:00
kaysonwu
836e97cdd3 Enhancement test for pull #552 2020-04-16 10:08:14 +08:00
kaysonwu
385bcc9ead fix custom webpackChunkName for aggressive import 2020-04-12 10:48:00 +08:00
Pavel Pustovalov
5a9c33b222
fix: use make-dir instead of mkdirp (#544)
Remove deprecated mkdirp module.
2020-04-05 20:51:31 +02:00
Boris
7e5adc7e96
docs: fix ChunkExtractor.outputPath comment (#513) 2020-03-18 20:25:34 +01:00
dependabot[bot]
176aa09c59
chore(deps): bump acorn from 6.4.0 to 6.4.1 in /website (#539)
Bumps [acorn](https://github.com/acornjs/acorn) from 6.4.0 to 6.4.1.
- [Release notes](https://github.com/acornjs/acorn/releases)
- [Commits](https://github.com/acornjs/acorn/compare/6.4.0...6.4.1)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-03-18 20:24:29 +01:00
Justin Gordon
ba0b06fc1d
docs: update api-loadable-component.mdx (#532)
Fix typo.
2020-03-14 14:16:56 +01:00