I was having a discussiong with @patrick91 today and realised that Starfyre could benefit a lot if we could limit the amount of js we are sending to the frontend.
I plan to keep the syntax similar to what I created in #24 but with some nuances.
# list_item.fyre
class Props(TypedDict):
children: Fyre.Node
<li><h2>{children}</h2><li>
# -----
# v2 - multiple components per file
# list_item.fyre
class Props(TypedDict):
children: Fyre.Node
props1: Fyre.Int
<ListItem>
<li><h2>{children}</h2><li>
</ListItem>
from .list_item import ListItem
names = ["a name", "another name"]
<ul>
{<ListItem>{name}</ListItem> for name in names}
</ul>
The plan - the HTML parser will be written in rust. We will also some sort of client-side rendering - by using props and file comments.
Pay now to fund the work behind this issue.
Get updates on progress being made.
Maintainer is rewarded once the issue is completed.
You're funding impactful open source efforts
You want to contribute to this effort
You want to get funding like this too