Content pfp
Content
@
0 reply
0 recast
0 reaction

Darryl Yeo 🛠️ pfp
Darryl Yeo 🛠️
@darrylyeo
Component Party: compare and contrast syntaxes for different frontend frameworks. https://component-party.dev
3 replies
2 recasts
55 reactions

z80 pfp
z80
@z80.eth
this is what it would look like in clojurescript you could also make the atom local to the function itself which would be more like the react example, would work almost exactly the same way, but this way you can set or use the value in the atom from any other component and they stay synced
1 reply
1 recast
1 reaction

Darryl Yeo 🛠️ pfp
Darryl Yeo 🛠️
@darrylyeo
So like a pure functional programming subset of React. Pretty neat. https://reagent-project.github.io/ https://github.com/reagent-project/reagent
1 reply
0 recast
1 reaction

Darryl Yeo 🛠️ pfp
Darryl Yeo 🛠️
@darrylyeo
You'd probably also really like Elm. https://guide.elm-lang.org/
0 reply
0 recast
1 reaction