My FeedDiscussionsHeadless CMS
New
Sign in
Log inSign up
Learn more about Hashnode Headless CMSHashnode Headless CMS
Collaborate seamlessly with Hashnode Headless CMS for Enterprise.
Upgrade ✨Learn more

Is it ok to import ObjectId from mongodb in a frontend file?

AP Pranav's photo
AP Pranav
·Dec 17, 2017

I need it to setup a query and send to the server.

Or should I only use the mongodb module in the backend?