Closed TheRealNate closed 1 year ago
I'll start looking into, I've been trying to make the package work with react-native-web
@TheRealNate Solution I came up with,
use react-dom as a peer dependency,
Were going to have seperate imports based on if this project is web or native,
But I just forked the lib,
changed: import {unstable_batchedUpdates} from "react-dom"
db.batchedUpdates = unstable_batchedUpdates;
There will be a webpack config issue, for Accounts.
I just used the old version of this project based on https://github.com/inProgress-team/react-native-meteor
Closing this issue due to no activity. Feel free to reopen.
In
src/Data.js
, the batched updates feature is being used from ReactNative's shims. This dependency needs to be removed to make the package work without native (e.g. forreact-native-web
)