Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lazynode documentation not up to date #1647

Closed
rambip opened this issue Nov 18, 2023 · 1 comment · Fixed by #1648
Closed

Lazynode documentation not up to date #1647

rambip opened this issue Nov 18, 2023 · 1 comment · Fixed by #1648
Labels
core relating to the core implementation of the virtualdom documentation Improvements or additions to documentation

Comments

@rambip
Copy link

rambip commented Nov 18, 2023

Problem

In the example of the docs, there is a let f = LazyNodes::new(move |f| f.element("div", [], [], [] None));

But f.element is no longer a valid method.

Here is the link:
https://docs.rs/dioxus/latest/dioxus/prelude/struct.LazyNodes.html#implementations

That would be nice to fix it.

Questionnaire

  • [ x] I don't have time to fix this right now, but maybe later
@ealmloff ealmloff added documentation Improvements or additions to documentation core relating to the core implementation of the virtualdom labels Nov 18, 2023
@rambip
Copy link
Author

rambip commented Nov 18, 2023

though, I think an exemple of how to create a VNode using a template manually is valuable

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
core relating to the core implementation of the virtualdom documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants