Use Transition Effect Versions Save

Run long effects without blocking the main thread

v0.2.0

1 year ago

We need the runWithPriority() function from the scheduler package if we want to update state inside transition effect. This means that exposing shouldYield() doesn't solve scheduler dependency issue, so it's better to be consistent and always require direct usage of the scheduler package.

v0.1.2

1 year ago

In order to have consistent priority context, we should wrap first iteration with runWithPriority() (next iterations uses scheduleCallback() which defines current priority)

v0.1.1

1 year ago

Add "src" to "files" in package.json so bundlers can pick-up source files for source-map generation.

v0.1.0

1 year ago

Release initial version of the useTransitionEffect() hook