Fralleee / pizzeria-frontend-challenge

Pizzeria - Challenge for Fullstack Developer
1 stars 0 forks source link

Update: 2021-12-04 #1

Open Fralleee opened 2 years ago

Fralleee commented 2 years ago

Here are today's updates

I encountered a lot of issues with my CI/CD workflow, the massive amounts of commits might show that :) This turned out to be a git/local de-sync where my components-folder had lower-case locally and uppercase in the repository.

I have not implemented typescript, my reasoning for that is that I have not worked with it enough and that it would make everything go much slower since I am unexperienced with it.

Next update I will set up some kind of state management, probably will use reacts context API. Been reading up on pros/cons using this vs a dedicated state manager (i.e. Redux) and the cons (mostly performance) won't matter in such a small app. However, if I notice performance drops, I will use memoization to reduce the amount of draw calls.

I will also implement ordering business logic with some pizza-customizations to tweak prices depending on sizes and toppings. Hopefully, I can get a finished prototype in a couple of days.

vongohren commented 2 years ago

Thanks for the update! Sounds like a really good plan and good choices. Have a good night!