-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add a macro for building properties outside of html! (#1599)
* remove renamed imports from yew-macro They add a lot of cognitive overhead and don't provide much benefit in this case. * just a prototype * cleanup * add prop type resolver * use new props for tags * silence clippy * simplify tag parsing * clean up * improve names * fix list span * new component props parsing * fix rogue lint * update tag attribute parsing * unify prop handling * add new tests * integrate prop validation * improve error span regression * add docstring * update tests * add test for specifying `children` twice * move properties derive macro * component transformer documentation * update properties documentation * document special properties * let's try to fix the spellcheck * let's just use a newer image then * document `with props` children * clean up a tad * is boolean the missing word? Starting to question the use of this spell checker... * add the note for the recursion limit back in * code review * improve error for duplicate children * clippyfying * revert Task: Drop * HtmlTag -> HtmlElement * link the issue for prop_or_else * PropList -> SortedPropList * use struct syntax * use html! in transformer demonstration
- Loading branch information
Showing
48 changed files
with
2,094 additions
and
1,270 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.