Skip to content
This repository has been archived by the owner on Apr 13, 2023. It is now read-only.

TS example: replace class extension of Query component #2721

Merged
merged 2 commits into from
Jan 10, 2019

Conversation

evans
Copy link
Contributor

@evans evans commented Jan 10, 2019

Extending the Query component as a class means that the compiled code
generates an extra object. By using the raw Query component directly
with generics, we avoid this extra artifact and simplify the code

Extending the Query component as a class means that the compiled code
generates and extra object. By using the raw Query component directly
with generics, we avoid this extra artifact and the code becomes more
simple
@evans evans added the docs Focuses on documentation changes label Jan 10, 2019
Copy link
Member

@hwillson hwillson left a comment

Choose a reason for hiding this comment

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

Great point @evans - thanks!

@hwillson hwillson merged commit 074779f into master Jan 10, 2019
@hwillson hwillson deleted the evans/fix-ts-Query-generics branch January 10, 2019 12:41
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
docs Focuses on documentation changes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants