3 ms·
> - vue and preact are designed to be used without build tools. An app deployed as a static site can use hash routing to need no builds and no server-side route
by throw_m239339 5y ago
> - vue and preact are designed to be used without build tools. An app deployed as a static site can use hash routing to need no builds and no server-side router.
So is React. JSX and React are 2 different things. But honestly, React without JSX is a pain to write.
Minification and hashing for secure script embedding are still needed, but it could provided directly by a server middleware, depending on the language one uses.
IMHO Typescript is still something useful.
- Joeri 5y agoInstead of JSX I’ve been using htm, which fulfills roughly the same role but runs entirely in the browser: https://github.com/developit/htm https://github.com/developit/htm I find typescript useful for libraries, less so for application code.