Submitted over 3 years agoA solution to the Space tourism multi-page website challenge
Spa using Reacjs and React Router
react, react-router, bem
@FelixCriollo

Solution retrospective
The practice
In first place, this is my first time usign react outside the tutorials. Use props
and the hooks useState
and useEffect
. Too use react router for build urls and so separare the content the user see in the page, use Link
, BrowserRouter
, Routes
, Route
and useLocation
.
For the style of the page use vanilla css, i guess. The think is what i use the vanilla sintax of css
Also i work with fetch and with promises
Finally use create-react-app
for have the basic config, try to made my own config but not works :d
Questions to improve
- How i can improve the order of the files on this project or in general?
- How i can add styles of better way?
- How i can improve the performance of the page?
Code
Loading...
Please log in to post a comment
Log in with GitHubCommunity feedback
No feedback yet. Be the first to give feedback on Felix Criollo's solution.
Join our Discord community
Join thousands of Frontend Mentor community members taking the challenges, sharing resources, helping each other, and chatting about all things front-end!
Join our Discord