Removing React.js from the codebase and adapting HTMX for UI interactivity
Summary
The post advocates removing React.js from Misago's codebase and adopting HTMX to drive UI interactivity. It outlines the current architecture (Django templates with a React.js front-end), highlights drawbacks such as duplicated rendering and inflated JavaScript bundles, and presents HTMX as a declarative way to swap server-rendered HTML islands. A gradual migration plan is discussed, aiming to preserve interactivity while simplifying the stack and reducing client-side complexity.