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
14islands
October 09, 2019
Programming
0
68
Construindo interfaces interativas com React
14islands
October 09, 2019
Tweet
Share
More Decks by 14islands
See All by 14islands
Sneaky Santa
14islands
0
43
Innovation & Prototyping
14islands
0
160
Google Santa Tracker: Present Bounce
14islands
0
220
Responsive Web Design Recap
14islands
8
1.3k
Lessons learned using WordPress as a CMS
14islands
2
950
The good, the bad and the ugly with responsive web design
14islands
4
1.9k
Faster Responsive Websites
14islands
2
320
Performance as design: doing responsive responsibly
14islands
32
8k
Other Decks in Programming
See All in Programming
「正の影響力」を目指して書くこと
honey32
2
110
Polarsの現状
daikikatsuragawa
0
1.4k
20240525_社内でPower Platform勉強会開いたら900人来た話
ponponmikankan
0
540
Porting mruby/c for the SNES (Super Famicom) - RubyKaigi 2024
gedorinku
0
2.1k
The Hotwire Landscape After Turbo 8 @ Helvetic Ruby 2024, Zurich
marcoroth
0
180
Secure Serverless Architecture
seike460
PRO
2
410
Findy - エンジニア向け会社紹介 / Findy Letter for Engineers
findyinc
2
76k
#kaigieffect LT 2024 - rexml-css_selector: A REXML extension for supporting CSS selector
makenowjust
1
160
Kubernetes Code Contribution入門
bells17
3
700
Why Spring Matters to Jakarta EE - And Vice Versa
ivargrimstad
0
560
TypeScript Custom GitHub Action Development Tips
peaceiris
4
1k
AWS Infrastructure as Code の新機能を総まとめ! 2023.1-2024.5
konokenj
8
2.2k
Featured
See All Featured
Java REST API Framework Comparison - PWX 2021
mraible
PRO
18
7k
What's in a price? How to price your products and services
michaelherold
238
11k
Atom: Resistance is Futile
akmur
260
25k
Writing Fast Ruby
sferik
623
60k
Build The Right Thing And Hit Your Dates
maggiecrowley
25
2.1k
How to name files
jennybc
65
94k
Why Our Code Smells
bkeepers
PRO
331
56k
VelocityConf: Rendering Performance Case Studies
addyosmani
321
23k
Imperfection Machines: The Place of Print at Facebook
scottboms
261
12k
Web development in the modern age
philhawksworth
203
10k
Making Projects Easy
brettharned
109
5.6k
Intergalactic Javascript Robots from Outer Space
tanoku
266
26k
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!