- its just a local variable
- don't create hook in local variable
i)how to configure them
ii)how to handle the error explain in with Error.tsx
iii) why we use Link component
1)Single Page Application :: Doesn't reload the page
we have to use `Link component from react-router-dom` instead of <a> tag
but at the end Link is <a> tag
2)Two types of Rendering
i)Client side
ii)Server side
3) All the childern going to the Outlet that present in react-router-dom and that #Outlet should
present in Parent
4)
- You should have to extend React.Component
- You have to write render()