Yew: Documentation for keys

Created on 25 May 2020  路  13Comments  路  Source: yewstack/yew


Issuehunt badges

Yew has recently got support for keyed elements, but the documentation lacks any mention of them. A mention should be added in the website, the doc of yew::virtual_dom::key::Key should be improved and an example should be added (could just improve the ergonomics of keyed_list of #1231).

I think that this is a good first issue.




IssueHunt Summary

Backers (Total: $10.00)

Become a backer now!

Or submit a pull request to get the deposits!

Tips


Funded on Issuehunt documentation good first issue

All 13 comments

@jstarry has funded $5.00 to this issue.


@siku2 has funded $5.00 to this issue.


@jstarry @siku2 I will take it if you don't mind

Go for it!

@jstarry

1) > A mention should be added in the website ...

Is this a good place to update docs in the website ?

2) > the doc of yew::virtual_dom:: key::Key should be improved ...

Where can I find the doc of key::Key ?

Thanks

Actually some code is not in master yet, see: https://github.com/yewstack/yew/pull/1231

I am currently working on it and I hope it gets merged soon.

1. > A mention should be added in the website ...

Is this a good place to update docs in the website ?

See this page, it's already mentioned: https://yew.rs/docs/advanced-topics/optimizations
IMHO this should have its own page, a bit like with Elm: https://guide.elm-lang.org/optimization/keyed.html

@totorigolo thanks!

@jstarry @totorigolo Sorry guys, but I can't work on this issue.

No problem, thanks for letting us know!

Any chance I can take a look at this?

@tuckerthomas yeah, that would be great!

Sounds good, I'll see what I can do

Was this page helpful?
0 / 5 - 0 ratings

Related issues

DenisKolodin picture DenisKolodin  路  5Comments

thienpow picture thienpow  路  3Comments

FrontMage picture FrontMage  路  4Comments

djahandarie picture djahandarie  路  3Comments

zethra picture zethra  路  5Comments