Universal Components & Deterministic Rendering
summary
Built a shared component library that compiles platform files for web and React Native and reaches a working login form universalized using React Native, react-native-web and design-system npm packages. Finds a concrete failure mode: animated popup needs absolute pixel values so top animation requires pixel height, and German text breaks a fixed-height box. Chooses native-style APIs where they diverge, measures text post-render causing rerender loops, and advocates for text measurement forces re-render loop and atomistic deterministic rendering.
AI-written summary · about
chapters (6)
- 0:00Start
- 3:25Learn once write anywhere
- 11:55There are no transitions in Native
- 13:31You can't put text in a Touchable
- 22:36What is an app?
- 25:25The W3C will catch up
related talks
27mUp and Running with Universal Components
21mBuilding Cross-Platform Component Libraries for Web and Native with React
33mHow to Build a Universal Design System
29mUniversal React
59mOne Codebase to Rule Them All - Using React Native Everywhere
01h 01mReact Native: A Better Way to Do Mobile
42mHow to publish a React Native component library
31mNative Web Components - All Frameworks Invited
