Quote (Scout16 @ Feb 1 2023 04:40am)
I am React js beginner so I wanted to clarify some things. Recently I attended an interview questions as follows-
Q1. The only way to use React in production is to use webpack-dev-serve ?
Q2. In case that you use webpack-dev-server I should create multiple API which will handle multiple functionalities as another service or microservice ?
Q3. Should you learn node js for further development? Or it's enough to have knowledge in webpack ?
I went through resources but didn't get it. This:
https://www.interviewbit.com/aws-lambda-interview-questions/Any help?
Thank you in advance!
Webpack is a bundler and is used to basically bundle all of your dependencies and js files into static assets used by the browser.
I believe webpack-dev-server is just some express server that serves your app locally which has nothing to do with production deployment.