Skip to content
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

Refactor(NoteList): Use createRef() instead of ref function #1811

Merged
merged 1 commit into from
Jan 7, 2020

Conversation

dmsnell
Copy link
Member

@dmsnell dmsnell commented Jan 4, 2020

Keeping up with React standards. This patch replaces the use of a ref function
with a createRef(). This will end up making our types easier.

This is part of broader work to separate modifying the search parameters from
actually filtering the notes and was originally created as part of an
exploratory PR #1807.

Testing

This is a small change. Smoke test by moving around the notes list.

@dmsnell dmsnell requested a review from a team January 4, 2020 04:57
@dmsnell dmsnell force-pushed the refactor/note-list-create-ref branch from 429e8d4 to a1db2b1 Compare January 4, 2020 04:57
Copy link
Contributor

@belcherj belcherj left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good change. Tested and works

@dmsnell dmsnell force-pushed the refactor/note-list-create-ref branch from a1db2b1 to ee7aa22 Compare January 6, 2020 19:08
@dmsnell
Copy link
Member Author

dmsnell commented Jan 6, 2020

Updated to rebase RELEASE-NOTES with updates from develop

Keeping up with React standards. This patch replaces the use of a ref function
with a `createRef()`. This will end up making our types easier.

This is part of broader work to separate modifying the search parameters from
actually filtering the notes and was originally created as part of an
exploratory PR #1807.
@dmsnell dmsnell force-pushed the refactor/note-list-create-ref branch from ee7aa22 to 74bbffc Compare January 6, 2020 23:03
@dmsnell
Copy link
Member Author

dmsnell commented Jan 6, 2020

Rebased to catch file rename in develop from #1813

@dmsnell dmsnell merged commit a27d526 into develop Jan 7, 2020
@dmsnell dmsnell deleted the refactor/note-list-create-ref branch January 7, 2020 00:04
@codebykat codebykat added this to the 1.14 milestone Dec 23, 2020
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.

3 participants