microfrontend-documentation

Decision Tree for Implementing Micro Frontends

When to use Micro Frontends?

When not to use Micro Frontends?

The following decision tree provides a structured approach to evaluating whether Micro Frontends are suitable for your project and guiding you through key considerations during implementation.

1. Project Scope and Team Structure

Are different teams working on different parts of the frontend?

2. Granularity

Do you need to split by business domain (e.g., product, checkout, user management)?

3. Integration Approach

Do you require build-time integration for shared resources?

4. Runtime Integration

Do you need runtime flexibility and independent deployments?

5. Framework and Tool Selection

Do you have a preferred JavaScript framework?

6. Communication Between Micro Frontends

Is shared state or global communication required?

7. Deployment Strategy

Do you need independent deployment pipelines?

8. Performance Considerations

Is performance a critical concern?

9. Security Requirements

Do you have specific security constraints (e.g., CORS, authentication)?

Detailed Decision Points

Project Scope and Team Structure

Granularity

Integration Approach

Framework and Tool Selection

Communication Between Micro Frontends

Deployment Strategy

Performance Considerations