ml-opensource / admin-panel-template-reactjs

25 stars 10 forks source link

refactor: api thunk & matcher added for state #141

Closed atiqaraj closed 2 years ago

atiqaraj commented 2 years ago

API Async Thunk & Matchers to handle State (Loading, Error)

What are you adding?

A wrapper of Async Thunk for Axios API calls and common way to handle Loading and Error states in Slices

Breaking changes?

No breaking changes.

Related PR

No related PRs.

netlify[bot] commented 2 years ago

✔️ Deploy Preview for ml-admin-panel-template ready!

🔨 Explore the source changes: b76925894cc03a861dfb3f86be407bdc84e9e08a

🔍 Inspect the deploy log: https://app.netlify.com/sites/ml-admin-panel-template/deploys/620e2eaf06bac400086272bd

😎 Browse the preview: https://deploy-preview-141--ml-admin-panel-template.netlify.app/

atiqaraj commented 2 years ago

@yukinoda Thanks, I am not part of the front-end team and it's not discussed in the weekly meeting as well. It's just a DRY approach of how loading and error are handled in the template.