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
Maintainable React UIs using Cosmos.js
Ovidiu Cherecheș
April 28, 2015
Other Decks in Programming
See All in Programming
「OSSがあるなら自作するな」は AI時代も正しいか ── Build vs Adopt の新しい判断基準
kumorn5s
7
2.8k
AlarmKitで明後日起きれるアラームアプリを作る
trickart
0
140
ふにゃっとしない名前の付け方 〜哲学で茹で上げる、コシのあるソフトウェア設計〜
shimomura
0
130
ビジネスモデルから紐解く、AI+型駆動開発
hirokiomote
2
650
Are We Really Coding 10× Faster with AI?
kohzas
0
200
oxlintはeslint/typescript-eslintを置き換えられるのか
shomafujita
2
110
CLIであることを活かしたGitHub Copilot CLI活用術 / GitHub Copilot CLI Pro Tips & Tricks
nao_mk2
0
260
UaaL×Androidアプリのメモリ計測 — Memory Profilerの先へ
rio432
0
160
ソースコード→AST→オペコード、の旅を覗いてみる
o0h
PRO
1
140
RailsTokyo 2026#4: AI様があれば、 Hotwireの弱点は消えるか?
naofumi
4
480
AWSはOSSをどのように 考えているのか?
akihisaikeda
0
130
柔軟なPDFレイアウトエディタを支える型システム設計 — Discriminated UnionとConditional Typeの実践
minako__ph
2
260
Featured
See All Featured
Leveraging Curiosity to Care for An Aging Population
cassininazir
1
240
16th Malabo Montpellier Forum Presentation
akademiya2063
PRO
0
120
How to build an LLM SEO readiness audit: a practical framework
nmsamuel
1
740
What does AI have to do with Human Rights?
axbom
PRO
1
2.1k
The AI Search Optimization Roadmap by Aleyda Solis
aleyda
1
5.8k
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
12
1.1k
Everyday Curiosity
cassininazir
0
210
Are puppies a ranking factor?
jonoalderson
1
3.4k
Bash Introduction
62gerente
615
210k
How to make the Groovebox
asonas
2
2.2k
The Mindset for Success: Future Career Progression
greggifford
PRO
0
330
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
34
2.7k
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