DavidAJohn / PhotoPortfolio

Personal photo portfolio .NET web application which implements a Blazor and Tailwind CSS user interface with a MongoDb database, and includes integration with Stripe Checkout and Prodigi Print API
0 stars 1 forks source link

Basket state as Service/Fluxor #8

Closed DavidAJohn closed 1 year ago

DavidAJohn commented 1 year ago

I'm considering whether or not to implement the basket state as either a service or using Fluxor.

DavidAJohn commented 1 year ago

Every time I look at Fluxor I end up coming to the same conclusion: it's overkill unless you're working with a very complex application state.

In this case, we have one page (Checkout) and one component (BasketDropdown) that read/update basket state.

So again, I'm going to go with the existing (simpler) solution, rather than just using Fluxor for the sake of it.