~/talk

Building a “Universal” CSS-in-JS library

Talkat React Nexus 2023 · 2023-07-07..07-08· [react, css]
slides:none on file

Claims a universal CSS-in-JS that maps one JS API to React Native and web, supports full CSS features (variables, media queries, pseudo selectors), and keeps near-zero runtime by emitting CSS at build time plus platform-specific JS at runtime. Implements tokens, variants, style composition via StyleSheet.create and array merging, SSR media queries to avoid flicker, and a plugin system for Webpack/Babel/SWC; used in BlueStack Style and Glue Stack UI and achieves Lighthouse 100 on a landing page.

AI-written summary · about

  1. 0:00Introduction to Universal
  2. 1:15Universal vs Cross-Platform
  3. 2:34Adoption of Universal Apps
  4. 4:05Debunking Myths of RN Web
  5. 6:15Overcoming Technical Challenges
  6. 8:53Accessibility in Shared Code
  7. 10:18The Need for CSS-in-JS
  8. 13:27Styling API Inspirations
  9. 17:34Building the Styled Library
  10. 20:49Theming and Responsiveness
  11. 24:00Plugin System and Conclusion
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.