{"id":16593655,"url":"https://github.com/ranile/yew-vdom-gen","last_synced_at":"2025-10-29T11:31:29.681Z","repository":{"id":57672738,"uuid":"391164589","full_name":"ranile/yew-vdom-gen","owner":"ranile","description":"Construct Yew’s Virtual DOM using ergonomic Rust idioms.","archived":false,"fork":false,"pushed_at":"2023-03-09T17:12:53.000Z","size":128,"stargazers_count":17,"open_issues_count":2,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-10T18:39:25.640Z","etag":null,"topics":["ergonomics","rust","vdom","yew"],"latest_commit_sha":null,"homepage":"https://crates.io/crates/yew-vdom-gen","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ranile.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-07-30T18:59:54.000Z","updated_at":"2024-10-26T12:48:27.000Z","dependencies_parsed_at":"2024-07-05T18:11:22.882Z","dependency_job_id":"3b7ff72b-66c8-41b7-9629-998a8508ebd9","html_url":"https://github.com/ranile/yew-vdom-gen","commit_stats":null,"previous_names":["hamza1311/yew-vdom-gen"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ranile%2Fyew-vdom-gen","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ranile%2Fyew-vdom-gen/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ranile%2Fyew-vdom-gen/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ranile%2Fyew-vdom-gen/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ranile","download_url":"https://codeload.github.com/ranile/yew-vdom-gen/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238817449,"owners_count":19535532,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ergonomics","rust","vdom","yew"],"created_at":"2024-10-11T23:43:44.180Z","updated_at":"2025-10-29T11:31:29.201Z","avatar_url":"https://github.com/ranile.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Yew VDOM Generator\n\nConstruct Yew’s Virtual DOM using ergonomic Rust idioms.\n\nThe API is based around functions and makes no use of macros, like `yew::html!` which allows it to provide great \nIDE support. IntelliSense is your friend when using this library.\n\n## Usage\n\n```rust\nuse yew::prelude::*;\nuse yew_dsl::prelude::*;\n\nstruct Component1;\nimpl Component for Component1 {\n    // ...\n    fn view(\u0026self) -\u003e Html {\n        h1(\"Heading \").into()\n    }\n}\n\nstruct Component2;\nimpl Component for Component2 {\n    // ...\n    fn view(\u0026self) -\u003e Html {\n        div()\n            .component::\u003cComponent2\u003e(yew::props!(Component1::Properties {}))\n            .child(h2(\"test2\"))\n            .listener(on_click(|_e| log!(\"test\")))\n            .into()\n    }\n}\n```\n\n## Documentation\n\nThe API docs are hosted on [docs.rs](https://docs.rs/yew-dsl). \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Franile%2Fyew-vdom-gen","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Franile%2Fyew-vdom-gen","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Franile%2Fyew-vdom-gen/lists"}