DEV Community

Cover image for ๐Ÿ‘จ๐Ÿผโ€๐Ÿ’ป Building a news app with React Native, Expo Router, and Tanstack Query ๐Ÿ“ฐ

๐Ÿ‘จ๐Ÿผโ€๐Ÿ’ป Building a news app with React Native, Expo Router, and Tanstack Query ๐Ÿ“ฐ

David Asaolu on December 05, 2023

Recently, I wrote about my first React Native applicationโ€” a mobile calculator and told you to expect more tutorials from me. Well, guess what? H...
Collapse
 
dheerajtp profile image
Info Comment hidden by post author - thread only accessible via permalink
Dheeraj

Why I'm getting this error for importing queryClient and queryClientProvider from @tanstack/react-query

Unable to resolve module '@tanstack/query-core.js' Evaluating @tanstack/query-core.js Evaluating @tanstack/react-query.js Evaluating App.js Loading App.js

Collapse
 
arshadayvid profile image
David Asaolu

You need to install '@tanstack/query-core.js'

Collapse
 
dheerajtp profile image
Info Comment hidden by post author - thread only accessible via permalink
Dheeraj

But you haven't installed that package right ?

When i try to install that package it's showing not found. And you haven't written anything about installation of that package you just installed @tanstack/react-query

 
arshadayvid profile image
David Asaolu

Start a new project and follow the step in the article.

Thread Thread
 
dheerajtp profile image
Dheeraj

๐Ÿ‘Ž

Collapse
 
pestodrizzle profile image
Dan • Edited

Great blog David! Are you building anything new with Expo these days?

Expo Router V3 is coming out soon. Curious to see how to build with it.

Collapse
 
arshadayvid profile image
David Asaolu

Thanks.
Yes, I am.
It should be ready before the month ends.

Some comments have been hidden by the post's author - find out more