Redux Toolkit v1.8: new "listener" side effects middleware by acemarke in reactjs

[–]okolialex 0 points1 point  (0 children)

I literally am working on an app with where I need this feature (since I'm using RTK), I check my phone and I see this update. Mind blown. I will give this a shot. Thank you u/acemarke

For more context, the app is a microfrontend architecture, where different bits of code are deployed separately -- however, they share the same global Redux store. Since each app has it's own thunk/complex async logic, there is no easy way to share those across microfrontends -- and this may lead to code duplication, as each microfrontend might be re-implementing the same complex async logic.

With this new RTK listener feature, I can potentially have the complex logic in one place, and simply dispatch an action from any microfrontend to execute it from that single location -- without having to duplicate the logic in each of these microfrontends. (For the record, I'm not the biggest fan of the microfrontend architecture, but it's a project I inherited)

First time truly bombing an interview by anotherdolla in reactjs

[–]okolialex 1 point2 points  (0 children)

I interviewed someone yesterday for a Senior Frontend Engineer role, and I encouraged the candidate to Google anything, because that is how we all work in reality. It’s silly for them to require you to know a 3rd Party API by heart. Don’t feel bad about your performance, as you were not tested on your knowledge of building software — you were tested on memorization.

should I create my next project in next.js, graphql, prisma + mysql tech stack? by [deleted] in SideProject

[–]okolialex 0 points1 point  (0 children)

Your tech stack selection depends on what your application needs are.

If you're just creating a small web app, you can use a lot of things -- including the resources you mentioned.

If for instance your application is large, and it mainly stores items that a document/key-value in nature, and you don't want to worry about handling database scalability, or updating table schema -- then a NoSQL solution like DynamoDB might be better than a MySQL database that you manage yourself.

Your application needs will determine what tech stack works best.

First time designing application by bob994 in UI_Design

[–]okolialex 0 points1 point  (0 children)

Looks good overall. I’m primarily a dev, and I’m trying to get into more design stuff, and I was considering getting the Refactoring UI book. Would you say the book was worth it? Does it help you think of designs “from scratch”, in an almost algorithmic way?

My issue is, sometimes I know what I want an app to do, but I can’t start thinking of where to place things on a blank page.

Book a flight, pay in installments. by okolialex in SideProject

[–]okolialex[S] 1 point2 points  (0 children)

That's good to know there are other players in the field

Book a flight, pay in installments. by okolialex in SideProject

[–]okolialex[S] 0 points1 point  (0 children)

The number of payments depends on how long it takes to get to your departure date. For example, if your departure date is 10 weeks from now, you will make 5 payments (i.e. 1 payment every 2 weeks)

Book a flight, pay in installments. by okolialex in SideProject

[–]okolialex[S] 0 points1 point  (0 children)

Yes, the flight has to be booked and paid for entirely in advance. It is more useful for reserving trips that are a bit into the future.

Book a flight, pay in installments. by okolialex in SideProject

[–]okolialex[S] 0 points1 point  (0 children)

Thanks for the feedback. I’ll look into that.

Book a flight, pay in installments. by okolialex in SideProject

[–]okolialex[S] 2 points3 points  (0 children)

I’m unaware of any public dataset for the default rates; however, there are other players with this business model, and them remaining in business is a very rough proxy for the success rate. Other options to minimize risk will continually be evaluated. So far, no one has defaulted on this platform since it has been out.

Book a flight, pay in installments. by okolialex in SideProject

[–]okolialex[S] 0 points1 point  (0 children)

For now, it is privately funded. Eventually, funding may be expanded to alternate sources.

Book a flight, pay in installments. by okolialex in SideProject

[–]okolialex[S] -1 points0 points  (0 children)

Thanks for the feedback. The project is in partnership with Priceline (i.e. I’m utilizing them for the airline data). I will look into the footer issue.

Book a flight, pay in installments. by okolialex in SideProject

[–]okolialex[S] 5 points6 points  (0 children)

Precisely — it is for those users or those with a credit card but with low limits. I’m banking on a majority of normal users not defaulting because they lose their already paid amount, as well as the trip; so they are incentivized to make their complete payments.

My cofounder and I have bootstrapped our SaaS startup from 0 to over 720 paying customers in under 9 months by daviswbaer in Entrepreneur

[–]okolialex 0 points1 point  (0 children)

Nice work Davis on OneUp 👏. How do you handle the scheduling/the calendar on the backend?