collagraph
elementary
collagraph | elementary | |
---|---|---|
3 | 1 | |
28 | 0 | |
- | - | |
4.7 | 10.0 | |
3 days ago | almost 2 years ago | |
Python | JavaScript | |
MIT License | GNU General Public License v3.0 or later |
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.
collagraph
-
It's React, but in Python
Shameless plug for a similar project called Collagraph (https://github.com/fork-tongue/collagraph).
From the README: Write your Python interfaces in a declarative manner with plain render functions, component classes or even single-file components using Vue-like syntax, but with Python!
- Reactivity (made possible by leveraging observ)
-
Rux: A JSX-inspired way to render view components in Ruby
You could implement a HTML renderer with Collagraph (https://github.com/fork-tongue/collagraph).
From the README:
-
PyScript
https://github.com/fork-tongue/collagraph/pull/66
From the project README:
Write your Python interfaces in a declarative manner with plain render functions, component classes or even single-file components using Vue-like syntax, but with Python!
- Reactivity (made possible by leveraging observ)
- Function components
- Class components with local state and life-cycle methods/hooks
-Single-file components with Vue-like syntax (.cgx files)
- Custom renderers (PySide, pygfx and now PyScript)
elementary
-
Rux: A JSX-inspired way to render view components in Ruby
"JSX-inspired" caught me off gaurd, the only thing JSX could inspire me to do was build something so I never had to touch it again, I landed on something similar to what you have here, I call it "Elementary"
Here's the JSON for a landing page written in my syntax: https://github.com/jazzyjackson/lookalive/blob/master/docs/i...
In another project I use it extensively to mix javascript in with the object syntax as you would with JSX: https://github.com/lookalive-software/geodesy/blob/newfocus/...
The implementation is fairly simple, given JSON returns an HTML string.
https://github.com/lookalive-software/elementary/blob/master...
What are some alternatives?
ComponentKit - A React-inspired view framework for iOS.
pyxl4 - Extend Python syntax with HTML.
hypertext - Hypertext authoring with Ruby
markaby - markup as ruby (official repository)
rux - A jsx-inspired way to render view components in Ruby.
rbexy - A Ruby template language and component framework inspired by JSX and React