Open ibilux opened 3 years ago
@ibilux Thanks for the request. We are currently having discussions about how we could rearchitect this project to separate the needs of react-native and node users. It is, however, not a trivial task to break these apart at this time, but we have some upcoming improvements that may make this easier in the future.
That being said, we would appreciate it if you would make new issues reporting what problems you are experiencing, with some code samples so we can reproduce it.
Thanks again for your interest.
@takameyer That's good to hear. I'll be waiting for the upcoming improvements. And I'll make a new issues with more details.
@takameyer Any update on this? Can we have a separate package for node.js without react-native?
@ravinderwalkover It's on our upcoming agenda, but we haven't made any progress yet.
I have made a realm
package for node
only at @ibilux/realm-node,
Still testing it. But the size is much smaller.
Goals
I hope you make a separate
Node.js
package, cause forNode.js
we don't need to install the current dependencies forReact-Native
. In some casesReact-Native
dependencies caused some problems. I had to commentNativeModules
anddebugHosts, debugPort
avoid errors inNode.js
. https://github.com/realm/realm-js/blob/c5528b73353b108a15625668d29fd1bb18356fd3/lib/browser/index.js#L19 https://github.com/realm/realm-js/blob/c5528b73353b108a15625668d29fd1bb18356fd3/lib/browser/index.js#L38Expected Results
A separated
Node.js
package withoutReact-Native
dependencies.Version of Realm and Tooling