Reusable Web Application Strategies

Imagine your team just deployed an amazing todo list app. A month later, another team in your company wants to run your todo app within their invoice app.

So now you need to run your todo app in two spots:

  1. By itself
  2. Embedded within the invoice app

Composing web applications

What’s the best way to handle that? 🤔

To run an app in multiple spots, you have three options:

  1. iframe — Embed the todo app in the invoice app via an <iframe>.
  2. Reusable App Component — Share the entire todo app.
  3. Reusable UI Component — Share only the todo app’s markup.

Option 2 and 3 are typically shared via npm for client-side apps.

Read on at medium.com

Subscribe to Email Updates (No spam. Just new posts.)

Comments are closed.