Skip to content
This repository has been archived by the owner on Jan 26, 2021. It is now read-only.

Check if we can use track to measure full transitions #96

Open
orballo opened this issue Aug 16, 2018 · 6 comments
Open

Check if we can use track to measure full transitions #96

orballo opened this issue Aug 16, 2018 · 6 comments

Comments

@orballo
Copy link

orballo commented Aug 16, 2018

child of #93

track is part of the react-devtools api.

@orballo
Copy link
Author

orballo commented Aug 22, 2018

I couldn't make it work properly. The Set is passed as a parameter to onRender but it's always empty.

@orballo orballo added next and removed next labels Sep 6, 2018
@orballo orballo removed their assignment Sep 6, 2018
@luisherranz
Copy link
Contributor

React 16.5.0 has been released so we can try this again.

@luisherranz
Copy link
Contributor

From what I'm reading in this post (video is for members only) the track function is now on the Schedule package, unstable_track:
we'll need the track function from the Schedule npm package. Let's install Schedule from the terminal, and then go to the to-do text input JS file. At the top, we'll import unstable_track as track from schedule/tracking. As a side note, the schedule API is unstable at the moment and could change slightly going forward.
https://www.npmjs.com/package/schedule

@orballo orballo self-assigned this Sep 11, 2018
@orballo orballo added next and removed in progress labels Sep 11, 2018
@orballo orballo removed their assignment Sep 11, 2018
@luisherranz
Copy link
Contributor

@luisherranz
Copy link
Contributor

@luisherranz
Copy link
Contributor

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants