Closed dkzlv closed 5 months ago
@hemandev Would you mind taking a look and possibly even testing it? I'm not really an expert in RN at all, and currently, I think, you're the only RN user we have 😅
I published a beta for this library with a transparent support for RN.
You can install it like this: npm install @nanostores/query@beta
.
I am getting the same error. I'm guessing because its still trying to use nanoquery.umd.cjs
instead of nanoquery.native.cjs
. I will have to look more into this.
The react-native
exports is relatively new, isn't it? Do you know if metro
bundler supports it by default?
@hemandev Oooh, I see. It's been there for a year already, but it's considered experimental/unstable.
Try again, please! Now you'll need to import like this:
import { nanoquery } from "@nanostores/query/react-native";
@hemandev Merging for now, lmk if it doesn't work for you.
@dkzlv still not working React Native version : 0.73.5
Actually Fixes #42, Fixes #44.