Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix performance issues #1439

Merged
merged 2 commits into from
Jul 18, 2019

Conversation

edgarmueller
Copy link
Contributor

Fixes the problems identified in #1433

Extracted ExpandPanelRenderer into its own file and replace usage of context within renderer. Instead provide HOC that extract the props accordingly.
Remove usage of context consumer in categorization layout renderer and replace with usage of HOC as well. Adapted tests.

Extract ExpandPanelRenderer into own file for maintenance reasons.
Remove usage of `useJsonForms` within renderer and replace with HOCs
analogously to existing renderers.

Partly fixes eclipsesource#1433
Remove usage of ctxToLayoutProps in categorization layout, replace with
HOC.

Partly fixes  eclipsesource#1433
@coveralls
Copy link

Coverage Status

Coverage increased (+0.4%) to 82.043% when pulling df453bd on edgarmueller:fix/react-performance into 2dafd11 on eclipsesource:master.

@edgarmueller edgarmueller merged commit ebe71c0 into eclipsesource:master Jul 18, 2019
@edgarmueller edgarmueller added this to the 2.3.0 milestone Jul 26, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants