Skip to content

Fix useEffect and useLayoutEffect snippets #75

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 10, 2019

Conversation

wouterh
Copy link
Contributor

@wouterh wouterh commented Jul 10, 2019

Moves the ${1:effect} tabstop out of the returned cleanup function and adds ${2:cleanup} tabstop inside the returned function.

Fixes #74

Moves the `${1:effect}` tabstop out of the returned function and adds `${2:cleanup}` tabstop inside the returned function.
@ice-chillios
Copy link

@wouterh Hi! Thanks for contribution :) I'm going to merge it right now but I need to fix some issue related to searching through .ts snippets before release :)

@ice-chillios ice-chillios merged commit 4b9e7e1 into r5n-labs:master Jul 10, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

useEffect snippet is wrong
3 participants