-
Notifications
You must be signed in to change notification settings - Fork 1
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
[Tech] Active le mode strict pour React #1862
base: main
Are you sure you want to change the base?
Conversation
Quality Gate passedIssues Measures |
@@ -14,6 +14,10 @@ on: | |||
schedule: | |||
- cron: "38 11 */3 * *" | |||
|
|||
concurrency: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Je voulais ajouter ça côté Fish aussi ^^
@@ -55,6 +59,7 @@ jobs: | |||
fi | |||
echo $VERSION | |||
echo "VERSION=$VERSION" >> $GITHUB_OUTPUT | |||
timeout-minutes: 30 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Je ne connaissais pas cette prop, bonne idée !
zoom: 6 | ||
}) | ||
}) | ||
initialMap.setTarget(mapElement.current) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Bonne idée de le sortir. Je me demande juste si on n'a pas de double-listening comme il y a un "double first render" en mode strict.
= n"y a-t-il pas besoin de mettre une ref isFirstRenderRef
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍. Il me semble que mettre les dépendances vides sur le useEffect va se déclencher qu'une seule fois au premier render.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
zoom: 6 | ||
}) | ||
}) | ||
initialMap.setTarget(mapElement.current) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍. Il me semble que mettre les dépendances vides sur le useEffect va se déclencher qu'une seule fois au premier render.
Activation du strict mode + ajout de timeouts sur les jobs + annulation des workflows déjà en cours au push
Related Pull Requests & Issues