Can i use MongoDB instead of async storage

In react native project instead of using sqlite or unstructured local store like creating . Json files or async storage can mongo installed locally
I searched alot and didn’t got any street forward answers

Yes you may install mongodb locally.


You’re looking for persistent lightweight local storage that uses MongoDB for mobile apps?
NeDB or React Native Local MongoDB

From my knowledge, MongoDB company itself doesn’t have a SQLite/Async Storage alternative, except the third party ones mentioned above. Someone else might have a different view of course.

1 Like

I already seen some 3rd party packages most are deprecated and NEDB works the same way like mongo but I just wondering what could be the best choice for my case thanks for replying

How about Realm ?

1 Like