Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Speaker Deck
PRO
Sign in
Sign up
for free
React.Suspense & react-cache
Flo Barriol
May 16, 2019
Technology
0
2
React.Suspense & react-cache
Duo futuriste pour requêter des données en ReactJS
Flo Barriol
May 16, 2019
Tweet
Share
Other Decks in Technology
See All in Technology
dena_tech
1
780
dena_tech
15
3.5k
tricknotes
1
140
900groove
2
550
legalforce
PRO
4
330
aditya45
2
2.5k
khrd
1
660
dena_tech
1
220
dena_tech
0
220
takehaya
0
110
uzabase_saas_product
0
110
lemiorhan
0
110
Featured
See All Featured
danielanewman
200
20k
jponch
103
5.1k
jnunemaker
PRO
40
4.6k
jlugia
217
16k
bryan
31
3.4k
jasonvnalue
81
8.1k
sachag
446
36k
ddemaree
273
31k
roundedbygravity
84
7.9k
tanoku
86
8.6k
chriscoyier
683
180k
kneath
294
39k
Transcript
ReaCt.suspense & react-cache Duo futuriste pour requêter des données en
ReactJS @FlorentBarriol
I’m here ! @FlorentBarriol
React.suspense & React.lazy Faire du code-splitting @FlorentBarriol
— Moi — Le code splitting, c’est diviser pour mieux
servir @FlorentBarriol
Dynamic import @FlorentBarriol
React.lazy(import) @FlorentBarriol
<React.Suspense /> @FlorentBarriol
react-cache @FlorentBarriol
Que de suspense ! @FlorentBarriol
The API may will change wildly between versions. No, Really,
It is Unstable — Le readme du package — @FlorentBarriol
setGlobalCacheLimit(limit) @FlorentBarriol
createResource(fetch, hashInput) @FlorentBarriol
read(input) @FlorentBarriol
Démo @FlorentBarriol
Merci ! Des questions ? @FlorentBarriol @FlorentBarriol
Repo Github de la démo https://github.com/florentbarriol/demo-talk-react-suspense @FlorentBarriol