Also the documentation is fantastic, you should be up and running in 5 minutes.
Pair it with a good IDE (i.e. WebStorm) and the websites write themselves.
Also the documentation is fantastic, you should be up and running in 5 minutes.
Pair it with a good IDE (i.e. WebStorm) and the websites write themselves.
Doesn't have to be a SPA or include a bunch of fancy client side JS or anything.
My sense with many templating engines is they are trying to crowbar programming functionality into HTML and always comes across clunky. It's usually a separate language from your server code entirely. Inline If statements and For Loops embedded in your HTML. And composing a template with a subtemplate is often clumsy.
With JSX you just write your normal JavaScript or Typescript and output JSX. Then the JSX is turned into HTML and returned to the browser.
But of course I'm not familiar with every HTML templating library out there, but I've used a few and I really love working with JSX.
https://pagetemplates.readthedocs.io/en/latest/tal.html
These days I reach for Chameleon, another Python implementation:
https://chameleon.readthedocs.io/
I'm aware of at least five implementations for JS: template-tal, jstal, Distal, DomTal, ZPT-JS.
You can go to a server side NextJS rendered page that worked even when JS is disabled, that uses only HTML and CSS and no JS whatsoever.
Thanks for bringing to my attention something I didn't know!
Next will let you use SSR to avoid all those OAuth & async loading headaches but also leverage more complicated components and when you do, handles all the bundling and tree shaking for you.