43 Commits

Author SHA1 Message Date
Anton Korzunov
daac26fee8 chore(tests): make breaking case for webpack4 2020-10-22 18:50:18 +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
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
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
cd5113cc34 apply prettier 2020-07-02 17:47:13 +10:00
Anton Korzunov
831aec0315 fix: expose used chunkNames from a server. Fixes #587 2020-07-02 17:19:11 +10:00
Anton Korzunov
f958067650 use resolve component to fix moment SSR example 2020-06-29 19:00:44 +10: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
Dante Calderón
a552924571 docs(example): add loadable packages to client-side and suspense examples (#448) 2019-10-18 22:03:17 +02:00
Michael Martinez
f755e7f4ca docs(example): update SSR example (#440) 2019-09-27 09:43:29 +02:00
Greg Bergé
f1e75b6c8b
chore: upgrade dependencies (#422) 2019-08-28 12:32:36 +04:00
Martin d'Allens
0aa67b735c docs(example): add required dependencies to run the razzle example (#417)
The Razzle example is missing @loadable/component and @loadable/server in package.json to run.
2019-08-28 11:05:00 +04:00
Wagner Silva
79a4fe4c9e docs: add dev deps in razzle example (#404) 2019-08-07 15:31:17 +02:00
Nikita Nafranets
80d88df988 docs(example): fix Razzle example "Cannot find module 'fs'" problem (#402) 2019-08-06 12:54:19 +02:00
Greg Bergé
0bf05ace42
chore: remove yarn.lock in examples 2019-07-15 10:33:23 +02:00
dependabot[bot]
23455e12c8 chore(deps): bump handlebars from 4.0.12 to 4.1.2 in /examples/razzle (#356)
Bumps [handlebars](https://github.com/wycats/handlebars.js) from 4.0.12 to 4.1.2.
- [Release notes](https://github.com/wycats/handlebars.js/releases)
- [Changelog](https://github.com/wycats/handlebars.js/blob/master/release-notes.md)
- [Commits](https://github.com/wycats/handlebars.js/compare/v4.0.12...v4.1.2)

Signed-off-by: dependabot[bot] <support@github.com>
2019-06-06 14:04:07 +02:00
dependabot[bot]
0c8567195c chore(deps): bump js-yaml from 3.12.1 to 3.13.1 in /examples/razzle (#357)
Bumps [js-yaml](https://github.com/nodeca/js-yaml) from 3.12.1 to 3.13.1.
- [Release notes](https://github.com/nodeca/js-yaml/releases)
- [Changelog](https://github.com/nodeca/js-yaml/blob/master/CHANGELOG.md)
- [Commits](https://github.com/nodeca/js-yaml/compare/3.12.1...3.13.1)

Signed-off-by: dependabot[bot] <support@github.com>
2019-06-06 14:03:54 +02:00
Greg Bergé
7ffaa4ca95
fix: fix chunkname mismatch (#332)
Closes #331
2019-05-12 21:50:47 +02:00
Greg Bergé
d65c5bb924
feat: support reactive dynamic loadable (#330)
Closes #284
2019-05-12 19:47:59 +02:00
Greg Bergé
7a9518f64e
chore: update example with complex agressive import 2019-05-08 20:37:16 +02:00
Greg Bergé
ea6d5f7442 chore: cleanup examples package.json 2019-04-10 21:34:35 +02:00
ambar
4c8ae60492 fix(server): fix loading order of assets (#266) 2019-03-13 15:09:30 +01:00
ambar
005913be28 chore: fix public path in examples/server-side-rendering 2019-03-10 22:02:13 +01:00
Greg Bergé
d04e1c978d
fix(suspense): fix suspense mode in React v16.8+ (#251) 2019-02-25 08:33:14 +01:00
Greg Bergé
4cab4f9bea
feat(server): add option to disable SSR (#223)
Closes #195
2019-02-05 23:47:25 +01:00
Tadeusz Wójcik
4a6f84fe9f feat(webpack-plugin): support custom path in writeToDisk option (#187) 2019-01-17 09:44:15 +01:00
Greg Bergé
eaa5e918d1 chore(example): upgrade deps 2019-01-11 15:27:31 +01:00
Greg Bergé
9dc70aeaa5 chore(example): upgrade deps 2019-01-11 15:26:09 +01:00
overlookmotel
40c959ea1d docs(example): remove useless dep. from SSR example (#197) 2019-01-11 15:24:36 +01:00
Greg Bergé
e97493316d fix(babel-plugin): fix chunkName with aggressive code splitting
Closes #182
2018-12-11 23:44:16 +01:00
Morgane Dubus
428599cdc7 docs: add website 2018-12-06 16:45:45 +01:00
Radu Micu
978a0c46b3 docs(example): fix Razzle example (#167) 2018-11-26 15:46:42 +01:00
Marc
ca90655122 docs(examples): add a razzle example (#162) 2018-11-23 16:20:04 +01:00
Greg Bergé
59693bba48 fix: fix loadableReady 2018-11-10 18:11:30 +01:00
Greg Bergé
eb1cfe8e21 feat: improve SSR support
BREAKING CHANGE:

- SSR has been rewritten from scratch, if you use it, please follow the
new guide.
- Prefetch component and prefetch functions have been removed, please
use `webpackPrefetch` instead.
2018-11-10 18:05:23 +01:00
Greg Bergé
d711ee0c60 fix(component): fix lazy usage
It seems like a breaking change but the library has been released
yesterday, so I will not publish a new major again.
2018-10-31 13:52:28 +01:00
Greg Bergé
94b2e87e56 feat: add new loadable.lib, change API
BREAKING CHANGE:

- `ErrorComponent` is ignored, please use Error Boundaries to handle errors.
- `lazy` is no longer exported
- `LoadingComponent` is replaced by `fallback` option
- `ref` are now forwarded
2018-10-30 17:12:57 +01:00