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
Design System com StencilJs - 17 de fev. de 2020
Search
Jonathan Cruz Rocha Ferreira
February 17, 2020
Programming
0
13
Design System com StencilJs - 17 de fev. de 2020
17 de fev. de 2020
Jonathan Cruz Rocha Ferreira
February 17, 2020
Tweet
Share
More Decks by Jonathan Cruz Rocha Ferreira
See All by Jonathan Cruz Rocha Ferreira
Automatizando Release
joohncruz
0
10
Introducao React Apps
joohncruz
0
10
Engatinhando_com_Redux_Saga.pdf
joohncruz
0
18
Arquitetura React Projeto Base
joohncruz
0
56
Testes Unitários em React
joohncruz
0
58
Apresentando o VueJs
joohncruz
0
12
Ecossistema de Testes com JavaScript
joohncruz
0
71
Testes Unitários em App React
joohncruz
0
16
Other Decks in Programming
See All in Programming
Чего вы не знали о строках в Python – Василий Рябов, PythoNN
sobolevn
0
120
プログラマのための作曲入門
cheebow
0
390
さようなら Date。 ようこそTemporal! 3年間先行利用して得られた知見の共有
8beeeaaat
3
1.5k
メモリ不足との戦い〜大量データを扱うアプリでの実践例〜
kwzr
1
280
print("Hello, World")
eddie
2
550
Deep Dive into Kotlin Flow
jmatsu
1
420
そのAPI、誰のため? Androidライブラリ設計における利用者目線の実践テクニック
mkeeda
2
5.1k
GitHubとGitLabとAWS CodePipelineでCI/CDを組み比べてみた
satoshi256kbyte
4
270
パフォーマンスチューニングで Web 技術を深掘り直す
progfay
16
4.2k
Reactをクライアントで使わない
yusukebe
7
5.4k
プロポーザル駆動学習 / Proposal-Driven Learning
mackey0225
2
1.4k
Swift Updates - Learn Languages 2025
koher
2
550
Featured
See All Featured
The Language of Interfaces
destraynor
162
25k
Designing Dashboards & Data Visualisations in Web Apps
destraynor
231
53k
Chrome DevTools: State of the Union 2024 - Debugging React & Beyond
addyosmani
7
860
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
52
5.6k
Fireside Chat
paigeccino
40
3.6k
Making Projects Easy
brettharned
118
6.4k
Principles of Awesome APIs and How to Build Them.
keavy
127
17k
Making the Leap to Tech Lead
cromwellryan
135
9.5k
Side Projects
sachag
455
43k
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
132
19k
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
229
22k
Building an army of robots
kneath
306
46k
Transcript
Design System com Stencil.js
Jonathan Cruz Rocha
[email protected]
in/joohncruz joohncruz @
Design System...
É um conjunto de padrões pré-estabelecidos que serve de comunicação
para as várias pessoas que trabalham com o produto. O que é um Design System?
• Eficiência: Consistência da plataforma • Consistência: padronagem de elementos
• Escala: Construção e entrega mais rapidamente Por que criar um Design System?
None
None
None
None
Criando nosso Design System
None
uni tuni te? • Curva de aprendizado (alta, média ou
baixa) • Flexibilidade para testes • Comunidade • Facilidade de uso nos projetos blip • Browsers compatíveis (browser e versão) • Tempo de desenvolvimento (dias, horas ou minutos) • Tamanho do bundle final (em KB)
https://www.webcomponents.org/
https://www.chromestatus.com/metrics/feature/timeline/popularity/1689
https://custom-elements-everywhere.com/
https://custom-elements-everywhere.com/
https://dev.to/aspittel/building-web-components-with-vanilla-javascript--jho
https://dev.to/aspittel/building-web-components-with-vanilla-javascript--jho
None
É uma biblioteca criada pela equipe do Ionic, voltada para
criação de componentes, com intuito de diminuir o retrabalho pelo atualizações dos frameworks. O que é Stencil.js?
O que o Stencil.js oferece? • Virtual DOM • Reactive
data-binding • TypeScript • JSX • Testable • Documented • Styleable • State
• @Component() • @Prop() • @State() • @Watch() • @Element()
• @Method() • @Event() • @Listen() https://stenciljs.com/docs/decorators Tiny API - Decorators
None
• connectedCallback() • disconnectedCallback() • componentWillLoad() • componentDidLoad() • componentWillRender()
• componentDidRender() • componentWillUpdate() • componentDidUpdate() https://stenciljs.com/docs/component-lifecycle Lifecycle Methods
E a comunidade do Stencil.js? • https://stenciljs.com/resources • https://stenciljs.com/ •
https://twitter.com/stenciljs • https://stencil-worldwide.herokuapp.com/ • https://medium.com/stencil-tricks
None
BLIP-DS Design System
https://github.com/takenet/blip-ds
https://takenet.github.io/blip-ds/
https://www.npmjs.com/package/blip-ds
O Blip-DS já teve testes realizados nos FS: React, AngularJS,
VueJS e Angular+ Como o Blip-DS integra com os outros FS? https://github.com/takenet/blip-ds
O que usamos no DS? • Stencil.js • Storybook •
SASS • JEST? • GH Pages • GH Actions • Stencil Style Guide
GOTO CODE
DÚVIDAS?