-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
consistent data pattern across all the page components #37
Labels
enhancement
New feature or request
Comments
Can i work on this issue? |
@akshatgarg12 Sure, let me know if you need any help :) Referencing a dependency in this comment #24 |
@aquibbaig Shall i remove error as a prop from RouteList component, so that we can handle the error without passing it? |
yeah, I guess.
Errors should be handled in a scope where data is being fetched
…On Wed, Dec 8, 2021 at 6:05 PM Akshat Garg ***@***.***> wrote:
@aquibbaig <https://github.com/aquibbaig> Shall i remove error as a prop
from RouteList
<https://github.com/bench-routes/dashboard/blob/6faa0e13f87d6faaecc75ae2a563f55ee4b778c4/src/components/RouteList/index.tsx#L26>
component, so that we can handle the error without passing it?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#37 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AGI23GC4HBRFTAZPFVI7IGLUP5GIHANCNFSM5H74YWPA>
.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Based on our useFetch service, the data pattern needs to be consistent across all page components (this is definitely what we need for a more readable and efficient design), for example:
The text was updated successfully, but these errors were encountered: