Skip to content
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

Unify data fetching pt. 1: Type the models, clean the code #43

Merged
merged 8 commits into from
Jul 24, 2024

Conversation

juanigaray
Copy link

@juanigaray juanigaray commented Jul 22, 2024

Agarré todos los lugares donde había un fetch(), tipé todo, agregué manejos de estado tipo "cargando" o "error" que no estaban siendo contemplados. También eliminé un loader que veníamos llamando que la verdad es que no había nada útil, sólo hacía llamadas HTTP que no aportaban nada y agregaban código que encima era poco performante. Lo quemé con fuego.

La idea de este PR era unificar los llamados a datos, pero lo dejo hasta acá para seguir en un segundo PR así no se hace tan difícil de revisar.

@juanigaray juanigaray changed the title Unify data fetching [WIP] Unify data fetching Jul 22, 2024
@juanigaray juanigaray force-pushed the unify-data-fetching branch from 81978a9 to 50eada7 Compare July 22, 2024 20:57
@juanigaray juanigaray force-pushed the unify-data-fetching branch from 50eada7 to 1f025e2 Compare July 22, 2024 20:58
@juanigaray juanigaray changed the title [WIP] Unify data fetching [WIP] Unify data fetching pt. 1: Type the models, clean the code Jul 23, 2024
@juanigaray juanigaray changed the title [WIP] Unify data fetching pt. 1: Type the models, clean the code Unify data fetching pt. 1: Type the models, clean the code Jul 23, 2024
Copy link

@serugeneris serugeneris left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

el código se ve bien y todo ok en test basico de QA!

@juanigaray juanigaray merged commit c65b7e6 into main Jul 24, 2024
2 checks passed
@juanigaray juanigaray deleted the unify-data-fetching branch July 24, 2024 19:00
antipitagoricamente pushed a commit that referenced this pull request Feb 16, 2025
Unify data fetching pt. 1: Type the models, clean the code
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants