Skip to content

Proposal: orders.on_next_render #207

Closed
@MartinKavik

Description

@MartinKavik

See #204 (comment).

This function would be probably used as the alternative for requestAnimationFrame, did_mount and combination should_render_now + send_msg.

We should test it with some examples (especially with animation_frame) before we decide how should the final API look like.

The first suggestion:

orders.on_next_render(|timestamp| { 
    ...
    Msg::NoOp
})

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions