For the past two weeks, I’ve been mostly prepping an isomorphic UI that fixes this issue. It was further complicated by the fact that while inferno (our lightweight front end) does have full isomorphic app support, its build system was using a broken fuse-box build, and I had to make a webpack working one from scratch. I’m really terrible at build systems so this took a few days.
This was also a ton of work for not too much benefit; the site will mostly appear the same as it has before. But enough people wanted it that I added it, and we’ll deploy it soon. It will:
Vastly speed up initial page load times. Navigating to new routes will seem as they did before.
Make it readable by non-javascript enabled clients (actions wouldn’t work tho, as they still require websocket)
Make lemmy archivable.
I’ve added opengraph and twitter html tags.
I’ve split out lemmy-ui from the main codebase, as well as the translations into their own repo.
One thing I don’t like about this, is that with this separation of back-end and front-end, I’ll need to transfer every front-end related issue and feature request to the new repo, but its probably for the best.
For the past two weeks, I’ve been mostly prepping an isomorphic UI that fixes this issue. It was further complicated by the fact that while inferno (our lightweight front end) does have full isomorphic app support, its build system was using a broken fuse-box build, and I had to make a webpack working one from scratch. I’m really terrible at build systems so this took a few days.
This was also a ton of work for not too much benefit; the site will mostly appear the same as it has before. But enough people wanted it that I added it, and we’ll deploy it soon. It will:
You can test it out at https://test.lemmy.ml
One thing I don’t like about this, is that with this separation of back-end and front-end, I’ll need to transfer every front-end related issue and feature request to the new repo, but its probably for the best.
deleted by creator
Awesome! I wandered into an old mention of this last night and was pleasantly surprised to see it just completed. Great job!
deleted by creator
ayy archival, is it done on a community by community basis or an instance by instance basis?
I’m not sure what this means but its been deployed to lemmy.ml , all pages should be archivable now.
Oh, so this would even allow using a completely different front-end, or even running an instance without one just to be used with native applications?
Its really just splitting it out into a different repo. If you wanted your instance to run a different front end, you’d have to make one.
also is splitting the front end and back end related to how chapo.chat is using a different front end than normal lemmy?
We haven’t even done a release yet for this new split, so they’re probably working off the version with everything in one codebase.
ooh ok