canonical / identity-platform-admin-ui

Admin UI for the Canonical identity broker and identity provider solution
Other
6 stars 4 forks source link

Improve UI codebase to avoid unnecessary re-renders #395

Open BarcoMasile opened 2 months ago

BarcoMasile commented 2 months ago

Description

Throughout the frontend React.js-based codebase inline functions are used and passed to components, which causes some unnecessary re-renders. This can be easily improved by leveraging the library function useCallback with the proper dependecies parameter. Also, some use of the useMemo can be leveraged to improve components where possible. In general, this issue is to push for the UI code to follow the basic guidelines of React base application development.

syncronize-issues-to-jira[bot] commented 2 months ago

Thank you for reporting us your feedback!

The internal ticket has been created: https://warthogs.atlassian.net/browse/IAM-1020.

This message was autogenerated

huwshimi commented 2 months ago

Hi @BarcoMasile are you seeing performance issues in any particular parts of the UI?