// browserlist added in package.json
//!!!The purpose of package-lock.json is to ensure that the same dependencies are installed consistently across different environments, such as development and production environments. It also helps to prevent issues with installing different package versions, which can lead to conflicts and errors.It records the exact version of every installed dependency, including its sub-dependencies and their versions.
// const parent = React.createElement( // "div", // {id:"parent"}, // React.createElement( // "div", // {id:"child"}, // [React.createElement("h1",{},"I am Saikat Ghosh"), // React.createElement("h2",{},"I came here to learn React")] // ) // ) // console.log(parent) // const root = ReactDOM.createRoot(document.getElementById("root")) // root.render(parent)
//! JSX - is not a part of React, but it makes easy our development styles. JSX is a xml or html like syntax but it's not html or xml. And JSX also give output as Object just like React.createElement() but JSX is not a valid javascript, browser or JS Engine can't understand this code, parcel*(manager) more specific babel trasplied this code to React.createElement() which is understandable by JS Engine.
//React Element
// const jsxheading =
//React Component (ClassBased and Functional Components) //?React Functional Components
// const Heading = ()=> { // return(
//! Component Composition (Component Nesting)
/*const Subheading = ()=> (
<>
{jsxheading}
{Heading()}
const root = ReactDOM.createRoot(document.getElementById("root"))
root.render(
//APP STRUCTURE//
/**
ResturantCard
-Image
-Name of res, Star Rating, Cuisine, Delivery time
*/
//*Config Driven UI