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

TS example: replace class extension of Query component#2721

Merged
hwillson merged 2 commits intomasterfrom
evans/fix-ts-Query-generics
Jan 10, 2019
Merged

TS example: replace class extension of Query component#2721
hwillson merged 2 commits intomasterfrom
evans/fix-ts-Query-generics

Conversation

@evans
Copy link
Copy Markdown
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
Copy Markdown
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