Need micro front end support. Should I CRA eject, or build from scratch?

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

Our great sponsors
  • Appwrite - The Open Source Firebase alternative introduces iOS support
  • SonarLint - Deliver Cleaner and Safer Code - Right in Your IDE of Choice!
  • Scout APM - Less time debugging, more time building
  • create-react-app

    Set up a modern web app by running one command.

    Here is great discussion on github where it is mentioned that CRA is good starter kit, but not "the best" or "ideal" solution. I'd suggest you to create your own minimal configuration and then iterate over it to optimize or add functionality needed. This way you will learn a lot and will keep your config as you need it to be. Also, don't be afraid of CRA config. I often find it helpful to look at what they did and borrow something when I need it.

  • craco

    Create React App Configuration Override, an easy and comprehensible configuration layer for create-react-app

    There is also option craco which allow you to configure CRA without ejecting, but I never used it. It might fit your needs right now.

  • Appwrite

    Appwrite - The Open Source Firebase alternative introduces iOS support . Appwrite is an open source backend server that helps you build native iOS applications much faster with realtime APIs for authentication, databases, files storage, cloud functions and much more!

  • vite

    Next generation frontend tooling. It's fast!

    Vite with React maybe a good option for your use case. A list of templates can be found here : https://github.com/vitejs/vite/tree/main/packages/create-vite

  • ReactTemplate

    Preconfigured React project with webpack build system and jest unit testing

    Here's my React Template if you want an example.

  • Bazel

    a fast, scalable, multi-language and extensible build system

    I made a somewhat complex React app at work with CRA. It worked well for over a year but recently i ended up tearing the whole thing apart and rebuilding it with a build tool called bazel. It was a pain with their node_js rules and such but honestly, I don't think doing a custom setup is that daunting if you are just using the regular JS toolchain (babel or the ts compiler, webpack, a node server of some sort to server the bundle).

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