JPJaya Paliwalincodewithjaya.hashnode.dev·Sep 2, 2023 · 3 min readState in ReactJSWhat is a State? The state is an object. We can use the state as a variable in Rect.JS Why do we use a state instead of a variable? If we use a variable the react component does not update. If we use state then react component understands anything is...00
JPJaya Paliwalincodewithjaya.hashnode.dev·Sep 2, 2023 · 3 min readClick Event and FunctionWhat is JSX? JSX full form is JavaScript XML. Before JSX we don't write HTML and JavaScript together. But now we can write HTML and JavaScript together. Example: let ste = "JSX"; <div>{`Hello this is ${ste}`</div> <div>{10+15}</div> We can use react ...00
JPJaya Paliwalincodewithjaya.hashnode.dev·Aug 31, 2023 · 2 min readComponent in ReactJSIn general meaning of component is a part or element of a larger whole, especially a part that can be separated from or attached to a system. What is a component? A piece of code that can be reused. such as function but more powerful than function. E...00
JPJaya Paliwalincodewithjaya.hashnode.dev·Aug 30, 2023 · 2 min readLearn Package.json in DeatilsPackage.json file is the most important file in ReactJS. Package.json file is not only present in ReactJS but also available in Vue.js and AngularJS also. What is Package.json? All details of the project are available in the Package.json file. For ex...00