Future-proofing: framework and bundler choice #162
Replies: 3 comments 6 replies
-
I'll keep documenting any issues I come across in this thread:
|
Beta Was this translation helpful? Give feedback.
-
I like Lit |
Beta Was this translation helpful? Give feedback.
-
As for the bundler, if we use jalla we are stuck with browserify. I just like that jalla is using koajs and has built in data prefetching. With our new website (gohugo), we're using hugo pipes with babel and esbuild. See: https://github.com/resonatecoop/website/blob/develop/src/layouts/partials/head.html
I'd like to have a similar setup for our id server frontend as gulp is such a drag. |
Beta Was this translation helpful? Give feedback.
-
Currently, the website uses
choojs
as its SSR SPA framework. It's quite simple and performant, and is easy to get going with. However, it is essentially unmaintained since a few years back. That in itself does not have to be an issue, but it makes it less ideal in case a bug were to show up, or in case a browser API were to change.The larger part of the issue is that choojs is a very small framework popularity-wise, which means the ecosystem around it is also very small. Currently, the website uses
jalla
as its choojs server and bundler, and afaik, there is simply no other good choice out there if you're using choojs. jalla is, just like choojs, also simple and easy to get going with. Though, it is indeed very simple. It also relies on fairly dated tools. One example is browserify, which is used for transpilation and bundling. That tool does not, and probably never will, support modern tech such as ESM.My argument is essentially that if resonate wants to stay future-proof and attract contributors, it should be in its interest to switch to a different framework and bundler in the medium term at least. In my experience, open-source volunteers like to work on cool new stuff, things they might not get the chance to use in their everyday work, or perhaps simply things that are pleasant to work with and modern. Furthermore, it is always nice when there is good community support for the framework/bundler that are chosen, in case problems arise.
Any thoughts on this? The other options out there are certainly aplenty, and most if not all can probably be switched to in an incremental fashion which is hugely beneficial. Some popular choices are obviously React/Vue/Angular. However, there are also more newcomers like Svelte, that might fit resonate a bit better. Would be interested in discussing further, just figured I'd post this to get a discussion started at least 🙂
Beta Was this translation helpful? Give feedback.
All reactions