Re:Typed-Html: Type Checked JSX for Rust
by btown on Sunday November 18, 2018 @11:01PM
(#18484144)
If you're referring to Rust's ability to infer types from macro tokens, not sure how far you'll get. But Typescript itself can absolutely track permitted attributes for different HTML tags, and it compiles JSX using these types: https://github.com/DefinitelyTyped/DefinitelyTyped/blob/mast...
[ Parent
| on HN ]
There are no comments on this comment yet.