Skip to content

Notes and Tips for React.js Developers Using React Native

Karelle Hofler edited this page Dec 6, 2024 · 6 revisions

React Native is to Expo as React.js is to Next.js

You're still using React Native to build the components but Expo is the framework that takes the development of React Native apps to the next level

  • Ex: Instead of using the Image component from react-native, use the Image component from the expo-image dependency instead just like in Next.js when you use 'next/image' instead of regular elements.
  • Other Similarities
    • Like Next.js, Expo uses file-based routing.
    • Layouts and Pages

Framework vs Stylesheets: That's your choice

  • There are several frameworks like NativeWind(Tailwind CSS for React Native) but it seems the general recommendation is to just use the Stylesheet component in React Native, but that was months ago when researching the best styling tips for development was done. Whatever you choose, if you decide to make this available for iOS and Android, remember to consider the bundle size.