yew
yew copied to clipboard
Cleanup ImplicitClone related stuff in the examples
Description
What does this PR do?
- Use more cheap-to-clone types in the examples
- Some examples got impacted by #3453 (the removal of ToHtml), I fixed them so we can use reference where it makes sense (I added a few IntoPropValue on cheap-to-clone types)
- Updated implicit-clone to the latest version
- Optimized ChildrenRenderer memory allocations by using Rc
Changes did on the side:
- In order to get some example working, I had to change NodeSeq to use IArray. This is good because it is more optimized for memory allocations too
- Slightly improve the API of VChild to easily get a ref mut inside its properties object (just for convenience!)
Related to #3453
Checklist
- [x] I have reviewed my own code
- [x] I have added tests