By MERN, I expect you mean MonogoDb-Express-React-Node.
Well, browser is only running the JavaScript files as it did for other libraries & frameworks.
You need a server to deploy Node & MonogoDb where your server side logic (Express Code) is handled by Node which in turn only serves your application as an API server.
Your code in React runs normally as any other JavaScript code in browser, nothing fancy here.
Atul Sharma
Full Stack Developer | Cloud Native Applications
By MERN, I expect you mean MonogoDb-Express-React-Node.
Well, browser is only running the JavaScript files as it did for other libraries & frameworks.
You need a server to deploy Node & MonogoDb where your server side logic (Express Code) is handled by Node which in turn only serves your application as an API server.
Your code in React runs normally as any other JavaScript code in browser, nothing fancy here.