mirror of
https://github.com/Unleash/unleash.git
synced 2025-09-19 17:52:45 +02:00
This change takes the rendering of the new project form component and puts in a child component of the project list, thereby significantly speeding up the time it takes to render the form if you have lots of projects (about to 10x for 50 projects on my machine). The reason it was so slow before was that the open state of the form component was stored in the project list component. This meant that whenever you wanted to open or close the form, you'd have to rerender the entire project list. This change abstracts that process into the new ProjectCreationButton component. This component takes care of checking the feature flag for whether to render the dialog or to send the user to the old form, and takes care of state management for the dialog. Because this is a child component of the project list, it does not cause rerenders of the entire project list. |
||
---|---|---|
.. | ||
accessOverview | ||
admin | ||
application | ||
archive | ||
banners | ||
changeRequest | ||
commandBar | ||
common | ||
context | ||
demo | ||
environments | ||
events | ||
feature | ||
featureTypes | ||
feedback | ||
feedbackNew | ||
filter | ||
insights | ||
integrations | ||
layout | ||
loginHistory | ||
maintenance | ||
menu | ||
playground/Playground | ||
project | ||
providers | ||
segments | ||
signals | ||
splash | ||
strategies | ||
tags | ||
user | ||
App.tsx | ||
InitialRedirect.tsx |