12. common styling (styled-components)
common native elements AKA View
instead of div
(ReactXP, react-native-web)
mobile-first approach
THE FUTURE OF
COMPONENT SHARING
12
13. MOBILE FIRST? Find ways to share your
JSX with web, along with everything else
WEB FIRST? Focus on sharing state and
configuration logic, and rebuilding
optimized mobile UIs.
HOW TO SHARE CODE
13