react-snap
perseus
Our great sponsors
react-snap | perseus | |
---|---|---|
7 | 27 | |
5,026 | 2,098 | |
- | 1.1% | |
0.0 | 7.6 | |
about 2 months ago | 2 months ago | |
JavaScript | Rust | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
react-snap
-
Server-render your SPA in CI at deploy time 📸
react-snap is a tool to help with SSR; a while ago I wrote about it:
- How to serve a static (NextJS) landing page on / path and a CSR, SPA React app on rest of them?
-
React SSR, NextJS vs Chrome headless prerendering
chrome headless prerendering (ex react-snap)
-
Ask HN: What tech stack to use for my startup?
My react build scripts use https://github.com/stereobooster/react-snap to create static files which I deploy. Might be good enough for you. Otherwise I'd suggest moving the app to a different subdomain as someone else mentioned and having separate marketing pages. If you have a lot of dynamic content (ie user generated) that you want SEO'd, server side rendering is the most tried and tested.
-
React Libraries
react-snap - Zero-configuration framework-agnostic static prerendering for SPAs
-
Introducing Perseus for Rust web development!
Right now, Perseus needs its server, the architecture doesn't permit purely static operation. That said, something like perseus export will definitely be happening before 1.0.0! In the meantime, maybe try out react-snap?
- What I wish I had known about single page applications
perseus
-
Building a Rust app with Perseus
The best part is that it doesn’t use a virtual DOM for its reactivity, which can lead to a significant increase in performance. Perseus not only inherits some of the best aspects of existing web frameworks but also strives to surpass them. Perseus went stable on April 9, 2023 after one year of beta development -- this is just the beginning!
-
Which Web Framework do people recommend for Rust in 2023?
I actually made a small sample project some weeks ago using Axum + Perseus + Sycamore. The purpose was to show, that also unocss was possible instead of tailwindcss. But I recommend tailwindcss for now, because there is an easy to use Perseus Plugin for it. https://gitlab.com/kibsi-perseus-examples/perseus-sycamore-rest-example-unocss But it could maybe be of interest to you. There are also the official Perseus examples: https://github.com/framesurge/perseus/tree/main/examples/core
- Perseus – NextJS alternative in Rust
-
Perseus web framework for Rust
Perseus is a web development framework for the Rust programming language. https://framesurge.sh/perseus/en-US/
-
Capsules, reactive state, and HSR: Perseus v0.4.0 goes stable!
Perseus is a pure Rust web development framework with support for static site generation, server-side rendering, client-side rendering, reactive state, internationalization, capsules (sometimes called an 'islands architecture'), seamless deployment, custom API routes, and so much more! And, after a year of beta versions, v0.4.0 of it just went stable!
- Hey Rustaceans! Got a question? Ask here (8/2023)!
-
What's the state of web dev with Rust?
Personally, I would go for Perseus. https://framesurge.sh/perseus/en-US
What are some alternatives?
htmx - </> htmx - high power tools for HTML
MoonZoon - Rust Fullstack Framework
react-helmet - A document head manager for React
yew - Rust / Wasm framework for creating reliable and efficient web applications
next.js - The React Framework [Moved to: https://github.com/vercel/next.js]
sycamore - A library for creating reactive web apps in Rust and WebAssembly
percy - Build frontend browser apps with Rust + WebAssembly. Supports server side rendering.
react-loadable - :hourglass_flowing_sand: A higher order component for loading components with promises.
leptos - Build fast web applications with Rust.
react-firebase-starter - Boilerplate (seed) project for creating web apps with React.js, GraphQL.js and Relay
tauri - Build smaller, faster, and more secure desktop applications with a web frontend.