1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-10-27 11:02:16 +01:00
unleash.unleash/frontend/src/component
Nuno Góis 13df715bfd
fix: prevent infinite rerenders in useIncomingWebhooks (#6176)
React can sometimes be non-intuitive and behave erratically due to the
way it detects changes in hook dependencies.

This prevents infinite re-renders from `useIncomingWebhooks` by using a
static `DEFAULT_DATA` constant, so that its reference is always the
same, so no changes are detected when there are none.

Unrelated scouting, but this PR also removes an unneeded dependency in
the memoized columns in `ProjectActionsTable`.
2024-02-09 08:17:15 +00:00
..
accessOverview
admin fix: network tab active state (#6154) 2024-02-07 15:03:44 +00:00
application
archive
banners
changeRequest feat: show segment conflicts in crs (#6138) 2024-02-09 16:25:01 +09:00
common feat: make edge explicit in UI (#6132) 2024-02-05 13:34:22 +01:00
context
demo fix: add new steps to demo guide (#6112) 2024-02-05 11:36:15 +01:00
environments
events
executiveDashboard feat: add posted feedback table (#6113) 2024-02-02 15:39:29 +02:00
feature fix: overflowing description (#6150) 2024-02-07 12:51:10 +01:00
featureTypes
feedback
feedbackNew feat: add posted feedback table (#6113) 2024-02-02 15:39:29 +02:00
filter
incomingWebhooks
integrations
layout
loginHistory
maintenance
menu feat: add posted feedback table (#6113) 2024-02-02 15:39:29 +02:00
playground/Playground
project fix: prevent infinite rerenders in useIncomingWebhooks (#6176) 2024-02-09 08:17:15 +00:00
providers
segments
splash
strategies
tags
user
App.tsx
InitialRedirect.tsx