Coder Social home page Coder Social logo

vishalsodani / sycamore Goto Github PK

View Code? Open in Web Editor NEW

This project forked from sycamore-rs/sycamore

0.0 0.0 0.0 816 KB

A reactive DOM library for Rust in WASM

Home Page: https://sycamore-rs.netlify.app/

License: MIT License

Rust 99.10% Dockerfile 0.13% HTML 0.29% CSS 0.30% JavaScript 0.18%

sycamore's Introduction

Sycamore

Crates.io docs.rs GitHub contributors Discord

What is Sycamore?

Sycamore is a modern VDOM-less web library with fine-grained reactivity.

  • Lightning Speed: Sycamore harnesses the full power of Rust via WebAssembly, giving you full control over performance.
  • Ergonomic and Intuitive: Write code that feels natural. Everything is built on reactive primitives without a cumbersome virtual DOM.
  • No JavaScript: Had enough of JavaScript? So have we. Create apps using Sycamore without touching a single line of JS.

Documentation

Sycamore is extensively documented:

Still have questions? Don't hesitate to stop by our friendly Discord server.

Examples

Sycamore has many examples for your reference in the examples/ directory. Be sure to cheek them out!

Viewing on sycamore-rs.netlify.app

All the examples are hosted under sycamore-rs.netlify.app/examples/<example_name> with <example_name> being the name of the example you want to view. For instance, the hello example is hosted on sycamore-rs.netlify.app/examples/hello.

Building Locally

All the examples can also be built locally using Trunk. For instance, the following command builds and serves the hello example:

cd examples/hello
trunk serve

Now open up localhost:8080 in your browser to see "Hello World!".

Perseus

Perseus is a fullstack framework built with Sycamore. Think NextJS or SvelteKit but with no JavaScript. Everything from backend to frontend is built with pure Rust!

Alternatives?

Don't think Sycamore is for you? Thankfully, there are plenty of alternatives!

  • SolidJS: A declarative, efficient and flexible JavaScript library for building user interfaces.
    Solid is a JavaScript library which greatly inspired Sycamore. Many concepts such as fine-grained reacitivity and components as factory functions were borrowed from Solid. If you don't mind working with JavaScript (or TypeScript), go check it out!

  • Yew: Rust / Wasm framework for building client web apps
    Yew was also a big inspiration for Sycamore. Yew employs a VDOM and has a MVU (Elm) architecture. If you think that's for you, take a look!

  • MoonZoon: Rust Fullstack Framework
    MoonZoon also champions the no VDOM paradigm and uses dominator as its underlying DOM layer. MoonZoon is a fullstack framework making it easier to combine frontend and backend code with minimal boilerplate.

Contributing

Sycamore would not have been possible without the wonderful contributions from the community. Thank you!

sycamore's People

Contributors

arctic-hen7 avatar baile320 avatar dicej avatar dten avatar gearme avatar iwburns avatar jquesada2016 avatar juanmarchetto avatar kestrer avatar lights0123 avatar lukechu10 avatar ochism avatar redian avatar riey avatar tmpr avatar tshepang avatar x37v avatar yoshanuikabundi avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.