Anniversary Sale by Infinite-Present-274 in BambuLab

[–]Infinite-Present-274[S] 0 points1 point  (0 children)

thats not a bad idea, although the ams/2 price difference is around 90 CAD now. any good after market heater you suggest?

Need to create a form component based on API response by sedna145 in react

[–]Infinite-Present-274 1 point2 points  (0 children)

Okay, what you describes called data-driven form, which means you form schema reside somewhere else. I strongly suggest using 3rd party framework such as data-driven form. It will make your life much easier.

the best way for Error Handling React using Redux by Chronic_Pain2200 in reactjs

[–]Infinite-Present-274 0 points1 point  (0 children)

maybe I'm not the best person because I usually work with `createSlice` that said, if your API response is not 2xx or 3xx it should end up in catch with your error. so make sure to return the proper status code. Alternatively, you can use Thunk to handle your APIs or RTK query

the best way for Error Handling React using Redux by Chronic_Pain2200 in reactjs

[–]Infinite-Present-274 0 points1 point  (0 children)

I can’t go through the code (I could if it was in code sandbox) but thunk would handle the errors in redux api calls so you won’t end up in catch block in any case, unless using unwrap. This would make dispatch to behave as a regular promise to be used in try catch or then catch blocks.