Closed Ekleog closed 2 months ago
Visit the preview URL for this PR (updated for commit a3f3bb5):
https://yew-rs-api--pr3610-simplify-use-future-59ezrwnp.web.app
(expires Sat, 10 Aug 2024 20:40:48 GMT)
🔥 via Firebase Hosting GitHub Action 🌎
vnode fastest │ slowest │ median │ mean │ samples │ iters
╰─ vnode_clone 2.783 ns │ 4.739 ns │ 4.016 ns │ 3.989 ns │ 100 │ 1000000000
vnode fastest │ slowest │ median │ mean │ samples │ iters
╰─ vnode_clone 2.779 ns │ 5.936 ns │ 4.016 ns │ 3.835 ns │ 100 │ 1000000000
✅ None of the examples has changed their size significantly.
It looks like CI is broken in ways most likely unrelated to this PR?
Yup, sounds like it could get even simpler! But I'll probably have completely forgotten about this once #3548 lands, so… :sweat_smile:
@WorldSEnder Should we just land this, or do you want to wait for #3548 to land before?
@Ekleog depending on #3548 was the idea lest we rewrite something soon after. I've finished up what I think was missing in that PR before we can merge, so any day now.
Description
Slight code simplification: here
latest_id
is never used as mutable, so might as well make it non-mutable by usinguse_memo_base
Checklist
There was no relevant test to add for this code simplification