3 ms·
If your SPA is written in Typescript, you're going to throw away a lot of safety checks moving to htmx.
by candiddevmike 3y ago
If your SPA is written in Typescript, you're going to throw away a lot of safety checks moving to htmx.
- hudon 3y agoA move from SPA means business logic moves to the backend and becomes hypermedia-driven, so the correct comparison if you want to think about type safety is if the backend server is type-safe. htmx is mostly declarative and its correct use could be statically checked with basic tools--it's not meant to contain complex logic.