Skip to content

An animation memoization #14

@kstroevsky

Description

@kstroevsky

At the moment we reload canvas by every parent render. It is a good solution to prevent application crashes. Unfortunately, after each render, we need to recreate an instance of the animation class.

It will be good to memoize an animation instance to prevent redundant computations. Also, it will be prettier because the canvas state (current frame, i.e.) will be restored after the rerender (including the page navigation but through the special param, of course).

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions