Skip to content

Conversation

@cekk
Copy link
Member

@cekk cekk commented Dec 29, 2022

If we pass a list of items with all the needed data, we could avoid unnecessary backend calls

@cekk cekk requested a review from SaraBianchi December 29, 2022 13:44
@pnicolli
Copy link
Member

Non ho capito bene quando è che non fai questa richiesta, magari spiegami a voce quando possiamo.
Nel frattempo ti posso già dire che useEffect dentro un if non piace a react, l'effetto ci dev'essere e la condizione deve stare dentro.

@cekk
Copy link
Member Author

cekk commented Dec 30, 2022

https://www.gdf.gov.it/it/gdf-comunica/notizie-ed-eventi/comunicati-stampa/anno-2022/dicembre/operazione-natale-sicuro-1

C'è un "reparto correlato" (oggetto gestito come una venue) che ha già tutte le informazioni necessarie nella get della news, e la chiamata al dettaglio del correlato è completamente inutile.

Ok per il codice, io sono andato col badile solo per fare una prova

@pnicolli pnicolli changed the base branch from develop to main October 18, 2023 07:54
@pnicolli pnicolli changed the base branch from main to 11.x.x August 9, 2024 22:13
@pnicolli pnicolli marked this pull request as draft August 9, 2024 22:13
@pnicolli
Copy link
Member

pnicolli commented Apr 7, 2025

Chiudo perché il problema è già stato risolto in una PR più recente ( #382 )

@pnicolli pnicolli closed this Apr 7, 2025
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.

3 participants