floem icon indicating copy to clipboard operation
floem copied to clipboard

Documentation for many methods of `View` refer to a non-existent method

Open timboudreau opened this issue 1 year ago • 1 comments

A lot of the methods of View contain the following line:

If the update needs other passes to run you're expected to call _cx.app_state_mut().request_changes.

There is no such method.

I think this might refer to a method on ViewId which is now crate-private but can be called indirectly from request_all() and friends?

timboudreau avatar May 22 '24 13:05 timboudreau

Yes you're right. The method was moved from app_state to ViewId.

dzhou121 avatar May 22 '24 13:05 dzhou121