3 ms·
I really like this article but I struggle with implementing it now. I've learned a lot of React recently for creating sites. I test all pages that can be stati
by androidgirl 8y ago
I really like this article but I struggle with implementing it now.
I've learned a lot of React recently for creating sites. I test all pages that can be static with javscript disabled, (I use gatsby or next for html ssr), but some parts can't be static, or worse there's still the "webpack inlines from hell" problem.
I would LOVE to replace my javascript powered pages with a templating language, and offer feature parity. But using a template language like Jinja2 for building component-based sites just doesn't work as well, unless I'm missing some magical secret sauce.
This is mostly for B2B web applications. I work on a lot of analytics dashboards that are pretty data dense. Even with react though, my sites never go over 400kb on load.
Okay, essentially my question is: what templating language/server framework can replace react, jsx, and graphql for webapps? I really want something like that.
- yorwba 8y agoI'm not sure I understand your requirements, but couldn't you just use JSX as your templating language and render React server-side? https://stackoverflow.com/questions/25777931/server-rendering-react-js-on-a-static-website https://stackoverflow.com/questions/25777931/server-renderin...