Comments (2)
The main difference is the syntax.
Syntax wise:
- Sauron code is a lot shorter compared to yew.
- no need fortype Message = Msg;
,type Properties = ();
,fn change()
- Sauron is a lot closer to
elm
than yew toelm
- usage of
Cmd
oninit
andupdate
, where elm just return true or false
- usage of
- minimal use of macros, in accordance with
elm
where the view are just function calls rather than separate syntax.
Goal
- Sauron's goal is to provide simple interfaces
- evident in fetch data example, the user don't have to manually write http request callbacks. - Extensibility, sauron core architecture is extensible.
- I was able to extend sauron to be use in native GUI client
from sauron.
Something like this should be near README.
from sauron.
Related Issues (20)
- README.md's Cargo.toml missing wasm-bindgen dependency? HOT 2
- Examples don't rub in Safari because wasm_bindgen is undefined HOT 3
- Want an example of server-side rendering? HOT 2
- Benchmarks are misleading and need to be updated. HOT 2
- node!(<h1>"example"</h1>) syntax does not work on released version 0.32.4 HOT 3
- Error: Window is not defined [Cloudflare Worker] HOT 1
- Interval / timeout / any way to execute something in background HOT 1
- Community HOT 1
- svg tags not showing when using node! macro in the client HOT 2
- How does sauron compare to seed? HOT 2
- input disabled attribute had different behavior that I was expecting in node macro HOT 3
- nodes inserted at position 0 have broken events HOT 6
- Correctly set value of HtmlOptionElement HOT 1
- windows-tab-rows demo lags HOT 1
- Closures attached to similar nodes misbehave HOT 2
- FYI: js-framework-benchmark
- How to get a node ref? HOT 1
- Panicking when using `node! {}` or `fragment([])`
- Adding items to a list causes unexpected duplication, and more panics
- Updates to attributes of parent of node with "key" are ignored HOT 1
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 sauron.