News for hackers. Stuff that matters.
Re:Web Components Will Outlive Your JavaScript Framework by candiddevmike on Wednesday October 25, 2023 @12:43PM (#38014774)
If your SPA is written in Typescript, you're going to throw away a lot of safety checks moving to htmx.
Re:Web Components Will Outlive Your JavaScript Framework by hudon on Wednesday October 25, 2023 @02:14PM (#38016187)
A 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.