Best way to share code between React App, React Native App, and NodeJs server?

This page summarizes the projects mentioned and recommended in the original post on /r/reactjs

Our great sponsors
  • SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • nx

    Smart Monorepos · Fast CI

  • I've never used this, but I've heard great things about it: Nx

  • turborepo

    Discontinued Incremental bundler and build system optimized for JavaScript and TypeScript, written in Rust – including Turborepo and Turbopack. [Moved to: https://github.com/vercel/turbo]

  • Yep, another option would be turborepo

  • SurveyJS

    Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.

    SurveyJS logo
  • lerna

    :dragon: Lerna is a fast, modern build system for managing and publishing multiple JavaScript/TypeScript packages from the same repository.

  • I am enjoying using lerna - https://lerna.js.org

  • react-native-web

    Cross-platform React UI packages

  • I think you're likely thinking of this https://necolas.github.io/react-native-web/

  • zart

    Discontinued 🤯 zART-stack — Zero-API, React [Native], & TypeScript

  • Bit

    A build system for development of composable software.

  • I would suggest http://bit.dev, we are using GraphQL Appsync and generate-graph-code to create a package that can be usable on the back end and react apps

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts