Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Concurrent Mode e Responsividade
Search
Hillary Sousa
June 10, 2021
Technology
0
6
Concurrent Mode e Responsividade
Hillary Sousa
June 10, 2021
Tweet
Share
More Decks by Hillary Sousa
See All by Hillary Sousa
Get hooked: O estado do React em 2019
hillarysousa
0
15
React 2019: O que podemos esperar?
hillarysousa
0
20
Other Decks in Technology
See All in Technology
ワールドカフェI /チューターを改良する / World Café I and Improving the Tutors
ks91
PRO
0
120
MLOpsの「壁」を乗り越える、LINEヤフーの Data Quality as Code
lycorptech_jp
PRO
5
530
FrontDoorとWebAppsを組み合わせた際のリダイレクト処理の注意点
kenichirokimura
1
530
プロトタイピングによる不確実性の低減 / Reducing Uncertainty through Prototyping
ohbarye
5
390
家族アルバム みてねにおけるGrafana活用術 / Grafana Meetup Japan Vol.1 LT
isaoshimizu
1
770
LangSmith入門―トレース/評価/プロンプト管理などを担うLLMアプリ開発プラットフォーム
os1ma
3
330
複雑な構成要素を持つUIとの向き合い方 〜新・支出グラフでの実例〜 / B43 TECH TALK
nakamuuu
0
140
反実仮想機械学習とは何か
usaito
PRO
11
4.7k
Java EE/Jakarta EEの現状と将来―クラウドネイティブ時代にJava EEは対応できるのか?―
takakiyo
1
170
Delivering Millions of Messages within seconds @ Duolingo
pelelgrino
0
350
AWSに詳しくない人でも始められるコスト最適化ガイド
yuhta28
1
250
KubeCon EU 2024 Recap “Kubernetes Policy Time Machine: Where to Next?”
ryysud
0
220
Featured
See All Featured
Fashionably flexible responsive web design (full day workshop)
malarkey
398
65k
Building Your Own Lightsaber
phodgson
99
5.7k
Done Done
chrislema
178
15k
Scaling GitHub
holman
457
140k
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
20
1.9k
Statistics for Hackers
jakevdp
789
220k
The Mythical Team-Month
searls
216
42k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
125
32k
How STYLIGHT went responsive
nonsquared
92
4.8k
The Invisible Side of Design
smashingmag
294
49k
A better future with KSS
kneath
231
16k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
14
1.5k
Transcript
Concurrent Mode & Responsividade
EXPERIMENTAL
O que é Concurrent Mode?
Um conjunto de recursos que permitem que aplicações em React
possam permanecer reativas e adaptáveis à interferências, como velocidade de rede e recursos dos dispositivos dos usuários. O que é Concurrent Mode?
None
None
Master Sua Branch
Em Modo Concorrente, a renderização é interruptível, e não bloqueante.
Renderização Interrompida
B
Blusa Bola Balança Boia B
Bl
Blusa Blusa de frio Blusa de manga longa Blusa de
meia manga Bl
Sequências de Carregamento Intencionais
Ainda na metáfora da master e suas branches... Sequências de
Carregamento Intencionais Master Sua Branch
None
None
Mas como?
HEURÍSTICA
...ou a capacidade humana de tomar decisões.
Concurrent Mode + Suspense
Suspense permite "esperar" que códigos ou dados sejam carregados, especificando
declarativamente um estado de carregamento (fallback) enquanto espera. Concurrent Mode + Suspense
Concurrent Mode + Suspense const ProfilePage = React.lazy(() => import('./ProfilePage'));
// Carregado quando necessário // Mostra um spinner enquanto o perfil está carregando <Suspense fallback={<Spinner />}> <ProfilePage /> </Suspense>
Mas onde entra a responsividade?
2011
Design Responsivo
None
Perguntas?
Obrigada!