Design comparison
Solution retrospective
Its work fine I guess. I used Context API to manage the cart state. Next time I would combine it with useReducer hook.
Community feedback
- @samir-DevePosted 26 days ago
your code works very well, I think I should improve mine too . Well done !!!
1 - @samir-DevePosted 26 days ago
By the way, do you know why is mine just displaying a blank page ? I would appreciate your help !!!
0@bartoszdudziak-devPosted 26 days ago@samir-Deve I deployed my soliution by Netlify. I had similar problem and I added netlify.toml to my files with this configuartion:
[build] command = "tsc && vite build" functions = "netlify/functions" publish = "dist" [[redirects]] from = "/*" to = "/index.html" status = 200
In your solution there might be a problem with building stage. Because page gets .jsx file intsead of js
I found a video how to deploy vite appp using github pages Video
0
Please log in to post a comment
Log in with GitHubJoin 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