alan2207 / react-query-auth

⚛️ Authenticate your react applications easily with react-query.
MIT License
366 stars 43 forks source link

question: can I use it with react-query@4 ? #12

Closed AaronConlon closed 1 year ago

hamzakat commented 2 years ago

+1

That would be great! @alan2207 What is the effort required to update the codebase to be working with RQ v4?

alan2207 commented 2 years ago

Hi there!

I haven't tried it yet with v4 but I think this would be a breaking change. Other than that, I am not sure if anything else would be required to change. However, I do plan to update it to accept more options for the user query, so there might be some minor changes in the upcoming version.

samdan-d commented 2 years ago

Hi @alan2207,

When would a new version come out? Is there anything to help the progress?

diegods-ferreira commented 2 years ago

I'm trying to use it with @tanstack/react-query@^4.16.1 and it does not work. I don't know what it could be...

Screenshot_1

hamzakat commented 1 year ago

I'm trying to use it with @tanstack/react-query@^4.16.1 and it does not work. I don't know what it could be...

Screenshot_1

This package hasn't been updated to RQ v.4 yet, but you can check and try the updates proposed in this PR #16

diegods-ferreira commented 1 year ago

@hamzakat Thanks, man. I'll check it.

alan2207 commented 1 year ago

Hey folks, you might want to install the latest version, which supports react-query v4.