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
Construindo interfaces interativas com React
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
14islands
October 09, 2019
Programming
0
89
Construindo interfaces interativas com React
14islands
October 09, 2019
Tweet
Share
More Decks by 14islands
See All by 14islands
Sneaky Santa
14islands
0
67
Innovation & Prototyping
14islands
0
190
Google Santa Tracker: Present Bounce
14islands
0
260
Responsive Web Design Recap
14islands
8
1.4k
Lessons learned using WordPress as a CMS
14islands
2
980
The good, the bad and the ugly with responsive web design
14islands
4
2k
Faster Responsive Websites
14islands
2
350
Performance as design: doing responsive responsibly
14islands
32
8.1k
Other Decks in Programming
See All in Programming
コードレビューをしない選択 #でぃーぷらすトウキョウ
kajitack
3
1.1k
Feature Toggle は捨てやすく使おう
gennei
0
320
Vuetify 3 → 4 何が変わった?差分と移行ポイント10分まとめ
koukimiura
0
180
Fundamentals of Software Engineering In the Age of AI
therealdanvega
2
290
ロボットのための工場に灯りは要らない
watany
12
3.2k
AWS×クラウドネイティブソフトウェア設計 / AWS x Cloud-Native Software Design
nrslib
16
3.4k
PHP でエミュレータを自作して Ubuntu を動かそう
m3m0r7
PRO
2
140
CS教育のDX AIによる育成の効率化
niftycorp
PRO
0
160
Pythonデータ分析コトハジメinFukuoka
kanan
0
100
メッセージングを利用して時間的結合を分離しよう #phperkaigi
kajitack
3
310
クライアントワークでSREをするということ。あるいは事業会社におけるSREと同じこと・違うこと
nnaka2992
1
360
ファインチューニングせずメインコンペを解く方法
pokutuna
0
140
Featured
See All Featured
Designing for Timeless Needs
cassininazir
0
170
Building Better People: How to give real-time feedback that sticks.
wjessup
370
20k
First, design no harm
axbom
PRO
2
1.1k
The Language of Interfaces
destraynor
162
26k
Technical Leadership for Architectural Decision Making
baasie
3
300
The untapped power of vector embeddings
frankvandijk
2
1.6k
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
25
1.8k
How to Grow Your eCommerce with AI & Automation
katarinadahlin
PRO
1
150
Building a A Zero-Code AI SEO Workflow
portentint
PRO
0
410
Why Mistakes Are the Best Teachers: Turning Failure into a Pathway for Growth
auna
0
93
A Modern Web Designer's Workflow
chriscoyier
698
190k
Odyssey Design
rkendrick25
PRO
2
560
Transcript
Construindo interfaces interativas com React
Interação de usuário é como o usuário interage com a
interface e como a interface reage com o usuário.
Interação de usuário é como o usuário interage com a
interface e como a interface reage com o usuário. Scroll Hover Drag Click… Render Animate…
Somos a
None
None
None
✈ "
✈ ☀ ☁
✈ " ✈ ⛄
☀ ☀ ✌
None
O nosso processo
React é uma biblioteca de JavaScript declarativa, eficiente e flexível
para construir interfaces de usuário.
Componentes auxiliam a organizar a arquitetura. Uma língua comum entre
design e desenvolvimento.
SCREENSHOT OF PROXY ARCH?
None
Prototype Inspect
None
None
Estrutura dos componentes
None
Component.js Component.story* Component.module.css index.js Component 1 Components Component 1 Component
2 Component 3
None
None
Componentes funcionais + hooks ( Yes, please.
None
None
Implementando animaçōes
Tenha regras bem definidas sobre como implementar.
Nenhuma animação é melhor que uma mal feita.
Mexa apenas no opacity e transform.
Position transform: translate(npx, npx); Scale transform: scale(n); Rotation transform: rotate(ndeg);
Opacity opacity: 0…1;
None
None
None
None
None
None
None
None
O ciclo do React, apesar de flexível, não é o
suficiente para orquestrar a ordem das coisas.
Algumas libs animam os valores fora do ciclo do React,
para melhor performance.
Orquestrando com refs.
None
Orquestrando com componentes.
None
Se necessário, FLIP it.
Caso necessário, FLIP it.
isFullScreen: false
min-height: 400px position: relative …
isFullScreen: true
position: fixed top: 0 left: 0 width: 100% height: 100%
isFullScreen: false 01 First
02 Last
03 Invert
https://aerotwist.com/blog/flip-your-animations/
None
None
Jogue a responsa no After Effects.
None
None
None
None
None
Algumas dicas
awesome-react-components
React DevTools
React DevTools
Analise a performance
Libs que recomendamos.
+
Obrigado!