You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Remove "isLoaded" flag from deployment form (#5605)
### Description of the change
This PR solves a bug found during a manual test prior to the release:
when selecting a different version, the `isLoaded` flag was preventing a
proper execution of the useEffect flow. The flag has been replaced with
`isLoading`, which just avoid re-renders when an expensive operation is
running (like parsing the schema).
### Benefits
Users upgrading package will see the deployed values (correct) instead
of the pkg defaults (incorrect).
### Possible drawbacks
In those cases, the component will re-render twice, but that's not a big
deal (no expensive backend calls, the table is now performing well,
etc).
### Applicable issues
- fixes#5603
### Additional information

Signed-off-by: Antonio Gamez Diaz <[email protected]>
0 commit comments