August 7th, 2023 × #facebook#css#react
Why is Facebook’s HTML + CSS Such a Mess?
Discussion on why Facebook and Instagram HTML/CSS is messy - random CSS class names and excessive div wrappers.
In this episode of Syntax, Wes and Scott talk about why Threads, Instagram, and all things Facebook have what seems like really messy HTML and CSS?
Show Notes
-
00:10 Welcome
-
00:35 Threads has got divs
-
02:42 Tight scoping
-
09:44 Avoids specificity
-
10:37 Dealing with ad blockers and scraping
-
15:45 Divs are free, what's the big deal?
-
20:19 Facebook is tracking everything
-
27:57 React Native
-
Tech stack rebuild for a new Facebook.com - Engineering at Meta
-
Facebook CSS-in-JS Solution Stylex Introduced at React Finland 2021
Shameless Plugs
- Scott: Sentry
- Wes: Wes Bos Tutorials
Tweet us your tasty treats
- Scott's Instagram
- LevelUpTutorials Instagram
- Wes' Instagram
- Wes' Twitter
- Wes' Facebook
- Scott's Twitter
- Make sure to include @SyntaxFM in your tweets
- Wes Bos on Bluesky
- Scott on Bluesky
- Syntax on Bluesky