Re:Moxie: Incremental Declarative UI in Rust
by anp on Monday December 02, 2019 @10:21AM
(#21683108)
Author here. I'm trying out an optional email Q&A format on the post, but will also be keeping an eye out here.
[ Parent
| on HN ]
Re:Moxie: Incremental Declarative UI in Rust
by Devagamster on Monday December 02, 2019 @02:16PM
(#21685752)
Not a question so much as encouragement. I think a big unspoken benefit behind react and its ilk is the strong focus on concise readability. React hooks can be confusing to understand, but when used properly they are incredibly concise and readable. I think moxie is closest to doing this properly in rust, and as such I am watching it very closely. Awesome stuff.
Re:Moxie: Incremental Declarative UI in Rust
by sansnomme on Monday December 02, 2019 @10:37AM
(#21683267)
Website on mobile needs a bit of fixing. Also, what do you think of Svelte?
Re:Moxie: Incremental Declarative UI in Rust
by anp on Monday December 02, 2019 @10:47AM
(#21683394)
I think there are some very strong parallels between the approach Svelte has taken and what I'm trying out in moxie-dom:
https://twitter.com/anplolol/status/1121128610918567936?s=20
Re:Moxie: Incremental Declarative UI in Rust
by anp on Monday December 02, 2019 @10:38AM
(#21683280)
screenshot? how does reader mode look on your phone?
Re:Moxie: Incremental Declarative UI in Rust
by tiborsaas on Monday December 02, 2019 @10:53AM
(#21683469)
Code blocks are too wide. Make them 100% wide and add overflow-x: scroll
I can't find reader mode on mobile chrome.
Re:Moxie: Incremental Declarative UI in Rust
by anp on Monday December 02, 2019 @10:58AM
(#21683517)
Thanks for the tip! Should show up shortly.
Re:Moxie: Incremental Declarative UI in Rust
by gyrgtyn on Monday December 02, 2019 @11:30AM
(#21683925)
how well does your editor deal with the quasi xml?
Re:Moxie: Incremental Declarative UI in Rust
by anp on Monday December 02, 2019 @11:36AM
(#21683982)
Fairly well, although I need to manually format it. VSCode's syntax highlight for rust doesn't do anything fancy for tags and attributes, but literals and block expressions are highlighted correctly.