Devographics / Devographics/surveys

New Question: JavaScript App Patterns

Open
#56 13 comments 3 reactions 0 assignees View on GitHub
State of JS 2022
Dominant language
No language data
Stars
69
Forks
7
PR merge metrics
No merged PRs in 30d

Description

I'm considering a new question to focus on rendering and architecture patterns:

---

### JavaScript App Patterns

Which of the following architecture and rendering patterns have you used in the last year?

- Single-Page App
*Apps that run entirely in the browser*
- Multi-Page App
*Apps that run entirely on the server, with minimal client-side dynamic behavior*
- Static Site Generation
*Pre-rendered static content, with or without a client-side dynamic element*
- Server-Side Rendering
*Dynamically rendering HTML content on the server*
- Partial Hydration
*Only hydrating some of your components on the client (e.g. React Server Components)*
- Progressive Hydration
*Controlling the order of component hydration on the client*
- Islands Architecture
*Isolated islands of dynamic behavior with multiple entry points in an otherwise static site (Astro, Eleventy)*
- Progressive Enhancement
*Making sure an app is functional even without JavaScript*
- Streaming SSR
*Breaking down server-rendered content in smaller streamed chunks*
- Incremental Static Generation
*Being able to dynamically augment or modify a static site even after the initial build*

---
Notes:

- I know this is kind of a mix of different things, but I think it'd be impossible to separate all these into clean categories since they all interact with and complement each other.
- I'm specifically asking "which have you used **in the last year**" to avoid giving too much of an advantage to patterns that have been around for a while, like pure MPAs or SPAs.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.