so in app.jsx file we use {} inside the return statment of the function the indicates the value of the variable decleared outside.eg:counter function App() { let counter=15; return ( <> <h1>chai aur react</h1> <h2>counter:{counter}...
smd.dev4 min read
No responses yet.