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
Maintainable React UIs using Cosmos.js
Search
Ovidiu Cherecheș
April 28, 2015
Programming
260
3
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Maintainable React UIs using Cosmos.js
Ovidiu Cherecheș
April 28, 2015
Other Decks in Programming
See All in Programming
Contextとはなにか
chiroruxx
0
260
JavaDoc 再入門
nagise
0
310
技術記事、AIに書かせるか、自分で書くか? 〜それでも私が自分の手で書く理由〜 / #QiitaConference
jnchito
2
1.3k
エージェンティックRAGにAWSで入門しよう!
har1101
8
1.4k
Spring Security 実践 ─ GraphQL APIで実務に役立つ 認証・認可 を学ぶ
wagyu
0
210
Java × distroless で 軽量なコンテナイメージを / Java on Distroless
contour_gara
0
520
Observability in Practice:Grafana 與 Edge Device SRE 的那些事
blueswen
0
150
AI時代のUIはどこへ行く?その2!
yusukebe
20
7k
Claspは野良GASの夢をみるか
takter00
0
180
Oxcを導入して開発体験が向上した話
yug1224
4
300
net-httpのHTTP/2対応について
naruse
0
470
Lessons from Spec-Driven Development
simas
PRO
0
150
Featured
See All Featured
How to build a perfect <img>
jonoalderson
1
5.6k
[SF Ruby Conf 2025] Rails X
palkan
2
1.1k
The Language of Interfaces
destraynor
162
27k
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
38
2.9k
GitHub's CSS Performance
jonrohan
1033
470k
svc-hook: hooking system calls on ARM64 by binary rewriting
retrage
2
290
Game over? The fight for quality and originality in the time of robots
wayneb77
1
190
Fireside Chat
paigeccino
42
3.9k
Docker and Python
trallard
47
3.9k
My Coaching Mixtape
mlcsv
0
140
コードの90%をAIが書く世界で何が待っているのか / What awaits us in a world where 90% of the code is written by AI
rkaga
62
44k
Stewardship and Sustainability of Urban and Community Forests
pwiseman
0
220
Transcript
Hello.
Why do UI devs change frameworks so often?
Why do UI devs change frameworks so often? A. Because
we constantly want to learn new stuff B. Because web browsers have evolved a lot in the last years or...
C. Because a change in the old framework feels like
this:
So you found a new framework... "This time it's going
to be different."
Things are going great... • Trying & learning new stuff
every day • No technical debt and haunting hacks • No need to refactor with every feature
This (framework) might be the one.
2 years later...
Why do we have so many bugs?
Why is writing code so hard to debug?
Don't be naive. React is not your soulmate.
What makes a codebase go bad in time?
None
None
How to understand an implicit codebase: 1. Grep the entire
project for that entity 2. Grep the entire project for the file name 3. Ask a friend, or... 4. ...read the entire source code.
You have to understand the entire project to figure out
something in a module. This is not scalable.
A maintainable codebase is explicit and intuitive.
How do you write explicit code? • Dependencies should be
expressed inside- out • Every module should expose a standalone, testable API • Every UI component should be an entry point.
Maintainable React UIs using Cosmos.js Bear with me...
ComponentTree Serialize and reproduce the state of an entire tree
of React components.
ComponentPlayground Minimal frame for loading and testing React components in
isolation.
Demo.
Thank you! // Ovidiu Cherecheș // Leading the Analytics UI
at Hootsuite //
[email protected]
// twitter.com/skidding // github.com/skidding