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

Refactor DocList and it's child components #6700

Merged
merged 4 commits into from
May 21, 2020
Merged

Refactor DocList and it's child components #6700

merged 4 commits into from
May 21, 2020

Conversation

siemiatj
Copy link
Contributor

Remove some unnecessary imports, empty objects/arrays, props etc. This limits the number of re-renders by a great deal.

Related to #6666

Tested on a sales order list with one order when logging renders, and on w101 for performance tests.

Before:
before1

before2

After:
after1

after2

remove unnecessary object references, empty objects, imports etc
@siemiatj siemiatj requested a review from petrican May 20, 2020 14:10
Copy link
Contributor

@petrican petrican left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good job! Pls try to do the small requested changes. Thank you

frontend/src/components/header/SubHeader.js Outdated Show resolved Hide resolved
frontend/src/containers/DocList.js Show resolved Hide resolved
frontend/src/containers/DocList.js Show resolved Hide resolved
frontend/src/containers/DocList.js Outdated Show resolved Hide resolved
frontend/src/containers/DocList.js Outdated Show resolved Hide resolved
- rename `windowType` to `windowId`
- comments
- remove anonymous function for ref assignment
Copy link
Contributor

@petrican petrican left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm. Thanks

@petrican
Copy link
Contributor

pls fix the linter err. Thanks

@siemiatj siemiatj merged commit 9cb1fbd into master May 21, 2020
@siemiatj siemiatj deleted the frontend-6666 branch June 8, 2020 13:18
BodorAnnamaria added a commit that referenced this pull request Jan 15, 2021
#10515
The column is displayed in
- window 123
- window 53025, record 540396

#10515
BodorAnnamaria added a commit that referenced this pull request Jan 15, 2021
BodorAnnamaria added a commit that referenced this pull request Jan 15, 2021
BodorAnnamaria added a commit that referenced this pull request Jan 15, 2021
BodorAnnamaria added a commit that referenced this pull request Jan 20, 2021
* #6700 Add C_BPartner_Location.Setup_Place_No column
#10515
The column is displayed in
- window 123
- window 53025, record 540396

#10515

* #6700 Add C_BPartner_Location.Setup_Place_No column
#10515
- clean script
- add models

* (6700) EDI Coop - Geschäftsfall X mit Stückware
#10515
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.

None yet

3 participants