==
codesand box is not used for porfessional projects
==
install node js
create a new project
build a project
===
node -v
16.13.0 or some other version
==
codesand box is not used for porfessional projects
==
install node js
create a new project
build a project
===
node -v
16.13.0 or some other version
=
state is like a variabvle in react
it is used to store data that changes over time
whenever state changes, react automatically update content on the screen
===
in the translate
three steps
one step take input from user
process that input
shown result
how the translation happens
using google translate api
this translation will ping google api once response got i twill return that respons e
in react project
all projects bundled into a single file and then placed into server
npm run build
app.js, index.js, filed.js translate.js ==> bundle.js
also called as app.bunlde its called some identifier.js
server request , in response it load html page and taht will be showin in ui
so the browser send a second request to server
and give thebundle file to browser
public /index.html
src/index.js
in index.js id == root
which ide is related that id onl y it wille xecutes
index.js
i tis the first file executed in react
===
bundle.js
====
when index.html started loaded on the browser
inside the bundele it has index,hs
index.html root had indcated in bundle,js root
bundle.js telling it has root id , we have to access root id in index.html
Midjourney oter.ai aiva googlegemin dall-e copilot jasper copilot openaiplayground