Comments (2)
If you want on-demand rendering (building the page when a request comes to your app), something like Bud is the way to go. Currently Plenti only handles build-time rending (building all the pages before the app is deployed) for "Jamstack" style websites. In other words, it usually runs in CI to produce static HTML and then gets entirely out of the way (the HTML gets deployed to your host, but the Plenti binary never does). So Plenti actually does SSR currently (we do it in V8 as well), it just does it during the build process.
Matt (the creator of Bud) and I talk about this problem space fairly often, we'd also like solve the problem you're posing here. Doing things in V8 works, but is challenging for several reason (e.g. requires CGO which makes cross compiling hard, doesn't support concurrency, has performance and debugging issues). Ultimately a UI compiler written in Go would allow you to write reactive frontends in a single binary without dependencies and performance issues - it's just a large undertaking to create something like this.
Is there a particular reason something like Bud isn't working for your project?
from plenti.
Thank you.
from plenti.
Related Issues (20)
- Error when using CMS editor with GitLab Pages in a monorepo HOT 5
- plenti serve is spitting errors HOT 9
- Fingerprint SPA to bust cache HOT 1
- Can't use "plenti" command HOT 2
- Broken build: invalid go version '1.21.0': must match format 1.23 HOT 1
- Component cache
- Custom env variable
- Live Reload: Broken/Missing JS script? HOT 2
- Git Gateway with Netlify HOT 3
- Use query params to bust cache HOT 1
- tls: failed to verify certificate: x509 HOT 3
- Broken Build: Project file 'snapcraft.yaml' not found HOT 3
- Strip inline style when pasting into inputs HOT 1
- Flatpak support
- Fingerprint every file in SPA HOT 4
- SIGSEGV: segmentation violation on running plenti serve on Linux (0.6.45) HOT 1
- Importing plain JS Files from components HOT 4
- Required fields HOT 1
- Route override fallbacks
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from plenti.