{
"$type": "com.whtwnd.blog.entry",
"theme": "github-light",
"title": "simple wasm web framework",
"content": "This post is similar to my post on https://nandi-moon-52.deno.dev/blog/been-playing-with-astro. So I was thinking if I could add some wasm generated components because that is something that interests me and I hadn't found something really simple to implement. Originally I was going to go for https://github.com/yewstack/yew bit it was difficult to get it to just render a stand-alone component without using their entire stack. Then I found https://github.com/ivanceras/sauron and it was exactly what I was looking for. A small little project to render a component and that's it. I have a demo on https://nandi-moon-52.deno.dev/wasm and you can see the code here https://github.com/codegod100/moon/blob/main/sauron/src/lib.rs and here https://github.com/codegod100/moon/blob/main/src/components/WasmComp.tsx",
"createdAt": "2025-01-02T06:16:20.505Z",
"visibility": "public"
}