Category: React
-
TILT- React Material UI and Navigation–part 29
I wanted some good looking on the site – so I choose https://mui.com/ It does not have ready made navigation like in Angular – so I need to make on myself. Fortunately,it has the all the things that one need: Media Query: https://mui.com/material-ui/react-use-media-query/ App Bar: https://mui.com/material-ui/react-app-bar/ The final code looks like that const theme =…
-
TILT- Angular2React–part 28
I was thinking to learn React – and transform the Angular site to React. The steps that I took are the folllowing: Learn React from https://reactjs.org/tutorial/tutorial.html – and learning that React is a library,not a framework Learn useEffect,useState with Hooks – very easy Learn that React can have a TypeScript template – it will make…
-
TILT-REACT Router
Now to see how to handle FrontEnd routing ( From Backend it is simple – just transfer to index.html and React will handle it ) The long established in React world seems to be https://github.com/remix-run/react-router . There is a new kid,https://github.com/Paratron/hookrouter – that uses hooks. However,the documentation says: This project is not and will not…