Use htmx in the frontend #2639
Labels
discussion
Requires developer feedback/discussion before implementation
enhancement
frontend
htmx
javascript
refactor
Todays solution:
The system in place is vanilla JS-HTML-CSS. It is somewhat chaotic and somewhat redundant some places in the codebase.
Replacing it with (or just adding on top of it) a component-based system, as mentioned in #2471, would require tons of refactoring in the long run and would require lots of overhead in the beginning. Additionally, there aren't many use cases in NAV that require a full complexity of a component-based system. Use cases that are on a roadmap to be fixed or to be implemented are of too little complexity for any component-based system.
Suggested solution:
Install htmx
Drawbacks:
htmx entails a paradigm shift when it comes to developing frontend. It would therefore require some overhead with implementation in the beginning. Simply because the team is not very used to htmx. But the team has so far a positive experience with htmx, both when it comes to complexity and ease of development.
The text was updated successfully, but these errors were encountered: