SeedCompany / cord-field

CORD UI
MIT License
7 stars 3 forks source link

Don't keep create menu & dialogs mounted #1556

Closed CarsonF closed 2 months ago

CarsonF commented 2 months ago

Create menu can be mounted on click. keepMounted is only recommended for mobile, which is not the use case here.

Previously, we were keeping all the creation dialogs mounted too. Even though we only needed one, and only while it is open.

Also changed to a map & memo for small render performance.