re: Thanks Dave. I'm glad you find the post useful.

I just used the destructuring approach in a Gatsby project of mine. When I first implemented it the code didn't compile, so I came back to this post and found my mistake. I had messed up the import statement. Thanks again!

We all make mistakes as devs. I'm glad the post helped you to fix it.

Oh yes. Iā€™m more than happy to make mistakes and learn from them.

code of conduct - report abuse