Frequently Asked Questions
I’m new to Sycamore. Where should I start?
If you like getting your hands dirty, try playing around with some examples.
If you prefer reading documentation, consider working your way through the Sycamore Book.
Don’t hesitate to stop by our friendly Discord server to ask quick questions or to chat with the community.
I’m new to Rust. Where should I start?
If you are new to Rust, the Rust Book would be a good starting point. Sycamore uses quite a few Rust features such as closures and smart pointers so be sure to get familiar with these topics.
Why is Sycamore built with Rust?
Rust is a modern, safe, and fast language. Rust’s strong type-system and ownership model prevent all categories of bugs from memory bugs to logic bugs. The compiler will catch most of your bugs before your app even runs! It is therefore not surprising that Rust has been voted the most loved programming language in Stack Overflow’s Developer Survey for eight years in a row: 2016, 2017, 2018, 2019, 2020, 2021, 2022, and 2023.
Is there a router?
Yes. Sycamore has an official router that can be used to create SPAs with optional support for SSR. See Router to learn more.
How do I get started with Server-Side Rendering (SSR)?
Check out SSR in the Book to learn more.
Is there a full-stack framework (like Next.js) for Sycamore?
Check out Perseus, a full-stack framework for Sycamore developed by community member arctic-hen7. Perseus is full-featured, supporting Server-Side Rendering (SSR), Static Site Generation (SSG), i18n and more.
Note however that Perseus currently uses Sycamore v0.8 which does not include many of the improvements and breaking changes introduced in v0.9.