nx VS single-spa

Compare nx vs single-spa and see what are their differences.

SurveyJS - JavaScript Form Builder with No-Code UI & Built-In JSON Schema Editor
Keep full control over the data you collect and tailor the form builder’s entire look and feel to your users’ needs. SurveyJS works with React, Angular, Vue 3, and is compatible with any backend or auth system. Learn more.
surveyjs.io
featured
Stream - Scalable APIs for Chat, Feeds, Moderation, & Video.
Stream helps developers build engaging apps that scale to millions with performant and flexible Chat, Feeds, Moderation, and Video APIs and SDKs powered by a global edge network and enterprise-grade infrastructure.
getstream.io
featured
nx single-spa
374 53
26,349 13,668
2.0% 0.4%
10.0 4.7
1 day ago 28 days ago
TypeScript JavaScript
MIT License GNU General Public License v3.0 or later
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

nx

Posts with mentions or reviews of nx. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2025-06-05.
  • GeoNetwork-ui custom applications made easy
    2 projects | dev.to | 5 Jun 2025
    For this exercice, we will create a Nx workspace, which helps scaffolding all your Angular setup. geonetwork-ui itself is a monorepo powered by Nx.
  • Preparations for trunk-based development - 1st phase
    3 projects | dev.to | 5 May 2025
    Nx Documentation: Monorepos Made Easy
  • Why I failed technical interview and how to tackle it?
    1 project | dev.to | 1 May 2025
    Take Nx as an example. Head over to their Issues tab, pick a bug, and try to reproduce it. Then read through the code, understand the business logic, and make a fix. If you manage to create a successful pull request, congratulations—you just did the same thing professional developers do daily.
  • File structure in Docmost, an open-source alternative to Confluence and Notion
    3 projects | dev.to | 24 Apr 2025
  • Frontend Monorepos: A Comprehensive Guide
    3 projects | dev.to | 19 Apr 2025
    Nx Documentation: https://nx.dev/ - Official documentation for the Nx build system.
  • UmiJS: the Shaolin of web frameworks
    19 projects | dev.to | 30 Mar 2025
    🏗️ The Umi's plugin system and API is quite interesting. You can do a lot with that. The approach is quite common for dev tools and in this case resembles both Vite and Nx with their extensibility and community orientation. There's a huge ecosystem of plugins of all sorts, and you can always complement them with your own (which is quite important for sophisticated enterprise development). I'd assume you could build pretty decent metaframework mechanisms with this flexible approach. At least, as I mentioned already, you have a bunch of thoughtful building blocks for that.
  • Building EczEase with Cutting-Edge Tech - Introduction
    5 projects | dev.to | 22 Mar 2025
    Nx is our choice for managing the project's monorepo structure. It provides powerful tools for scaling our development process, ensuring code reusability, and maintaining consistency across different parts of the application. With Nx, we can efficiently manage multiple projects within the EczEase ecosystem, from the main web application to potential mobile apps and backend services.
  • Why I Swapped NX for Standalone Projects
    1 project | dev.to | 20 Mar 2025
    Hello! I used to like NX a lot. It was a monorepo for all my projects—different brands and clients in one place. It worked well, but it didn’t suit me. Most of my projects are single Angular apps. So, I stopped using one big NX repo and made separate projects instead. Here’s why I prefer it.
  • The Final (For Now) Setting for My Personal Blog as a Dev
    2 projects | dev.to | 15 Mar 2025
    The project is using Nx workspace + PNPM for package management
  • Micro-Frontends: The Next Big Thing or Just Hype?
    1 project | dev.to | 26 Feb 2025
    Then there’s the tooling. Micro-frontends aren’t as plug-and-play as a monolith yet. You’ll likely need custom build pipelines, deployment scripts, and a solid CI/CD setup. Tools like Nx can help here—its monorepo approach is a lifesaver for managing multiple micro-frontends in one cohesive workspace. Their micro-frontend guide is worth a peek if you’re curious.

single-spa

Posts with mentions or reviews of single-spa. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2025-01-15.
  • Custom builder for Angular: My way
    13 projects | dev.to | 15 Jan 2025
    Micro-frontend has always aroused my curiosity: I wanted to understand how they work, how to build them, what their pros and cons are. In 2018, inspired by this topic, I tried to build something similar to single-spa in one of the pet projects. At that time, there was no Webpack Module Federation (WMF), and Webpack itself seemed inconvenient. The choice fell on ESBuild and importmap. Browser support for importmap at the time was mostly on paper or with special flags in browsers. For this reason, I used a polyfill. But, surprisingly, everything worked and even in several projects.
  • Microfrontends a Developer's Guide: Tools, Technologies, and Step-by-Step Setup
    5 projects | dev.to | 16 Nov 2024
    We will cover some of the popular frameworks and libraries available, and guide you through setting up a microfrontend architecture using Single-Spa.
  • Microfrontends a Developer's Guide: Advantages and Disadvantages
    1 project | dev.to | 14 Nov 2024
    In the next article, we will explore the tools and technologies for building microfrontends, including a step-by-step guide to setting up a microfrontend architecture using Single-Spa.
  • Tools and libraries widely used in micro frontend architectures!
    15 projects | dev.to | 9 Aug 2024
    Official Website
  • Managing View State and Client-side Routing in SPAs
    1 project | dev.to | 1 May 2024
    At JupiterOne, we've made a significant transition from a monolithic frontend to a distributed frontend architecture using microfrontends, powered by (single-spa-react)[https://single-spa.js.org/]. This architectural shift has brought many benefits, such as lazy loading sections of the app and accelerating our development cycle. However, like any significant change, it has also come with its set of challenges.
  • Micro frontend frameworks in 2024
    6 projects | dev.to | 13 Mar 2024
    Single-SPA Framework - One of the most popular choices. It has a large community behind it and offers robust routing and lifecycle management for microapps. Ref - https://single-spa.js.org/
  • ⏰ It’s time to talk about Import Map, Micro Frontend, and Nx Monorepo
    9 projects | dev.to | 11 Mar 2024
    Joel Denning is the visionary behind single-spa, boasting profound insights into the true mechanics of the web and is, in my view, a pioneer in micro frontend architecture. I highly recommend checking the single-spa website and his YouTube channel. While the videos might appear dated at first glance, rest assured, Joel is ahead of his time, and the content remains incredibly relevant today.
  • Single-SPA and Svelte advices.
    1 project | /r/sveltejs | 10 Dec 2023
    You got me curious and I found that single spa is something new to me - if I read https://github.com/single-spa/single-spa then I reckon you can use Svelte(Kit) in such framework - like you can use angular etc
  • Speed Run de MicroFrontends com Single-SPA (any%)
    3 projects | dev.to | 24 Nov 2023
  • Use web components for what they’re good at
    8 projects | news.ycombinator.com | 23 Aug 2023
    I’ve actually done that “web components as the interoperability layer”!

    It was this old angular 1.8 app with new features being written in angular-hybrid-ized angular 8. Ripping out angular-hybrid and separating the angular 1.8 routes from the modern angular routes was difficult, but now they were totally separate.

    The only thing linking them together was an object with some RXJS streams in it for state, and a little in-house wrapper “app” who just loaded one component or another depending on the URL and a hash of routes for config. (I’d probably use SingleSPA [1] now. Same thing really.)

    We could deploy them separately since the build just ends up being another JS file somewhere that just gets included with a script tag at runtime. No version bumping! No big mega build!

    We started replacing the remaining “old” routes 1 by 1 with a “new” counter part. That was the easiest part, and went at a pace devs were comfortable with (fast enough) and business folk could tolerate. (modular enough to not HAVE to be done all at once)

    Last I checked, the angular 1.8 stuff is gone years ago. :)

    [1] https://single-spa.js.org/

What are some alternatives?

When comparing nx and single-spa you can also consider the following projects:

nestjs-monorepo-microservices-proxy - Example of how to implement a Nestjs monorepo with no shared folder

piral - 🚀 Framework for next generation web apps using micro frontends. ⭐️ Star to support our work!

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

Bit - AI-powered development workspaces with reusable components, architectural clarity and zero overhead.

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

qiankun - 📦 🚀 Blazing fast, simple and complete solution for micro frontends.

SurveyJS - JavaScript Form Builder with No-Code UI & Built-In JSON Schema Editor
Keep full control over the data you collect and tailor the form builder’s entire look and feel to your users’ needs. SurveyJS works with React, Angular, Vue 3, and is compatible with any backend or auth system. Learn more.
surveyjs.io
featured
Stream - Scalable APIs for Chat, Feeds, Moderation, & Video.
Stream helps developers build engaging apps that scale to millions with performant and flexible Chat, Feeds, Moderation, and Video APIs and SDKs powered by a global edge network and enterprise-grade infrastructure.
getstream.io
featured

Did you know that TypeScript is
the 1st most popular programming language
based on number of references?