Skip to content

Conversation

@tizmagik
Copy link
Collaborator

@tizmagik tizmagik commented Nov 8, 2020

I noticed one of the tests never got updated to the hooks API, plus added another minor test

NOTE: This PR is going into expanded-hooks-api branch.

@tizmagik tizmagik requested a review from bgergen November 8, 2020 05:23
@bgergen bgergen merged commit 7547855 into expanded-hooks-api Nov 8, 2020
@bgergen bgergen deleted the tweak-new-test branch November 8, 2020 21:22
bgergen added a commit that referenced this pull request Nov 11, 2020
* Copy additional functionality to hook

* Call hook from decorator

* Fix props issue & tests

* Remove top-level hook warning

* Unskip & update hook tests

* Remove lint warnings

* Remove extraneous loc

* Move core functionality into separate hook

* Clean up tests

* Move ReactTrackingContext into separate file, update useTracking tests

* Update src/__tests__/hooks.test.js

Co-authored-by: Jeremy Gayed <[email protected]>

* Update tests

* More test updates

* Fix lint error

* Store data & options in refs

* Update hooks test to call dispatch mock

Co-authored-by: Jeremy Gayed <[email protected]>

* Update tests, fix memoization bug

* tweak + small new test (#170)

Co-authored-by: Jeremy Gayed <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants