Love this!
I really hated the way StaticQuery was typically written--it was a real turn-off for using Gatsby. I've much preferred the useStaticQuery hook, and I really like making a custom hook for site metadata! (Gatsby's queries are sooooo verbose...)
StaticQuery
useStaticQuery
Thanks @tvanantwerp ♥️
I really quite liked the render props pattern for not so deeply nested components.
When using it for things like Apollo it does get quite hairy!🙃
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Love this!
I really hated the way
StaticQuery
was typically written--it was a real turn-off for using Gatsby. I've much preferred theuseStaticQuery
hook, and I really like making a custom hook for site metadata! (Gatsby's queries are sooooo verbose...)Thanks @tvanantwerp ♥️
I really quite liked the render props pattern for not so deeply nested components.
When using it for things like Apollo it does get quite hairy!🙃