Commit Graph

36 Commits

Author SHA1 Message Date
Bryn Dyment
420c397483 Update code-splitting.md (setup → set up) (#3643)
(`setup` is the noun form and `set up` is the verb form.)
2021-04-20 09:26:24 +02:00
Alexey Pyltsyn
371156e9c3 Remove line breaks to simplify syncs 2020-10-13 10:32:30 +03:00
Sam Robbins
ccc8e034e4 Update code-splitting.md (#3294) 2020-09-30 18:15:36 +03:00
Stephanie Coates
1f7a4b9574 update @babel/plugin-syntax-dynamic-import link (#3046)
Docs previously linked to https://classic.yarnpkg.com/en/package/babel-plugin-syntax-dynamic-import for Babel 6. Updated link to point to plugin compatible with Babel 7.
2020-09-29 10:26:34 +03:00
Chris Wilson
ec07e80be0 Remove prev/next links from the Advanced Guide (#3269) 2020-09-21 10:19:11 +02:00
Eduard Poracký
d16f1ee795 Add next and previous links to Advanced Guides (#540)
Co-authored-by: Eduard Poracký <eporacky@trionyx.sk>
Co-authored-by: Sebastian Silbermann <silbermann.sebastian@gmail.com>
2020-08-23 19:44:57 +02:00
Elia Maino
6b45b652d6 Update urls of tools examples (#3123)
* Update urls of tools examples

Some urls are outdated, they still redirect to the correct page but for example the info you can see on the bottom left of the page to know which page you're about to visit when hovering the link is wrong.

- https://github.com/facebookincubator/create-react-app -> https://github.com/facebook/create-react-app
- https://github.com/zeit/next.js/ -> https://github.com/vercel/next.js

* Provide urls to tools websites instead of GH repos
2020-07-20 17:04:59 +01:00
Nhan Doan
c2eb543b52 Update outdated URL in code-splitting.md (#2870)
* Update outdated URL

Next.js Dynamic Import.

* Update code-splitting.md

Co-authored-by: Alexey Pyltsyn <lex61rus@gmail.com>
2020-03-30 16:47:52 +03:00
Carl A Lewis
6c108015ae Update code-splitting.md (#1972)
Added some clarity.
2020-03-09 14:54:30 +00:00
Greg Bergé
4ada2dee0e Update Loadable Components urls (#2602) 2019-12-10 01:19:48 +03:00
Josh Kramer
05206d70c9 Remove dynamic import proposal text (#2564)
Dynamic imports have reached stage 4 and are now part of ECMAScript.
2019-11-25 12:18:53 +03:00
Sophie Alpert
71050d527d Update code-splitting.md 2019-10-21 22:36:06 -07:00
Alexey Pyltsyn
87685fd27f Improve Code Splitting 2019-10-02 01:01:21 +03:00
Michael Hienle
4136300bff Mention Rollup (#2379) 2019-10-02 00:58:52 +03:00
Jacob Bandes-Storch
ec0cf5cf2c Update CodeSplitting to clarify that lazy() must be used with Suspense (#2306)
* Update CodeSplitting to clarify that lazy() must be used with Suspense

* Update code-splitting.md
2019-09-10 17:28:27 -07:00
Michael Hienle
40ae16ac09 Mention Rollup (#2187) 2019-08-12 10:03:11 +03:00
Matt Wood
6a6b9170f4 Fixed minor code-splitting.md typo (#1292)
* Fixed minor code-splitting.md typo

* Update code-splitting.md


Co-authored-by: Alexey Pyltsyn <lex61rus@gmail.com>
2019-06-30 10:33:05 +03:00
Peng Jie
a211417f66 fix(terms): treeshaking -> tree shaking (#1977) 2019-05-07 14:47:32 +03:00
Raed CHAMMAM
8803c6375b Fix CRA code splitting link (#1765) 2019-03-02 23:21:23 -08:00
Alexey Pyltsyn
1a625b7b69 Merge branch 'master' into httpsify 2019-02-22 00:12:48 +03:00
Michał Gołębiowski-Owczarek
7e4ac52af4 HTTPS-ify most insecure URLs in content/docs (& one in Acknowledgments)
This is a followup to #1157
2019-02-07 14:45:03 +01:00
Nat Alison
25df15b83e reapply, correctly generating links 2019-02-06 18:03:29 -08:00
Nat Alison
dc1e5366e3 revert id adding 2019-02-06 18:00:52 -08:00
Nat Alison
3e49e971d0 add everything else again 2019-02-06 17:22:04 -08:00
David Edmondson
5284091bdd Replace unmaintained react-loadable package with loadable-components. (#1407)
* Replace react-loadable with two active alternatives.

`react-loadable` no longer has an active maintainer. Only personal forks are available for Webpack 4 + Babel 7 support.

* Remove react-universal-component.

Change recommendation to only `loadable-components` and link directly to the SSR documentation.
2018-11-19 18:31:02 +00:00
Frederick Ros
ab79d82d95 Fix a typo (#1344)
Seems like the MyErrorBoundary import statement has a typo
2018-10-30 11:29:31 -07:00
Kurt Furbush
7258e584cb Update code-splitting.md (#1299)
Grammar fix
2018-10-26 09:12:44 -07:00
Sebastian Markbåge
b188555b06 Document React.lazy (#1284)
* Document React.lazy

Suspense is documented here since it's the only built-in way so far to
use it. In the future it'll likely be documented on its own more like
Error boundaries.

This hoists React.lazy as the primary way to do code splitting. However,
before getting into it we keep the recommendation to use react-loadable
for server-side rendered apps since Suspense is not yet ready for the
server.

* Tweaks

* Tweaks

* nits
2018-10-23 16:51:54 -07:00
pushpinder107
06f8553e90 Fixes typo (#902) 2018-05-23 12:48:45 +01:00
sventunus
18aee608ec Update code-splitting.md (#556)
Fixed a typo: "A good place **is** to start is with routes" => "A good place to start is with routes"
2018-01-29 01:10:04 +00:00
Joseph Race
794c0e0756 Update code-splitting.md (#546) 2018-01-23 09:36:15 -08:00
HeroProtagonist
8b9850820c div -> switch 2018-01-06 13:28:36 -05:00
HeroProtagonist
f601ba1dfc Properly nest components in router 2018-01-05 18:04:27 -05:00
Alex
bb4d0fc0c2 Revert wording 2018-01-04 20:29:24 -09:00
Joshua Comeau
4636461c79 Spelling nits for code-splitting.md
Really enjoyed the newest code-splitting docs!

I caught a minor spelling error: `interuptive` -> `interruptive`. I decided to indulge the writer in myself, and chose to rephrase some things that I thought could be clearer.

That said, I recognize that many of the changes I'm making are subjective. More than happy to simply fix the typo, but I thought I'd submit this to see if others agree with my phrasing changes.
2018-01-04 21:19:47 -05:00
James Kyle
615c660245 Init Code-Splitting docs (#348)
* Init Code-Splitting docs

* Fix <Route path="/"> to use exact

* Fix code splitting typos

* Fix note formatting on the website

* Minor tweaks

De-emphasize webpack, mention Next and Gatsby
2018-01-04 21:09:29 +00:00