Skip to content

Converted App/Dialogs to stateless components where applicable#522

Merged
skellock merged 1 commit into
infinitered:masterfrom
ericadamski:master
Oct 4, 2017
Merged

Converted App/Dialogs to stateless components where applicable#522
skellock merged 1 commit into
infinitered:masterfrom
ericadamski:master

Conversation

@ericadamski

@ericadamski ericadamski commented Oct 4, 2017

Copy link
Copy Markdown
Contributor

Part of #518

Also update some of the setTimeout(() => ReactDOM.findDOMNode(...), 1) calls to use React lifecycle methods and ref functions rather than string references.

@skellock skellock left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Thanks! Good call on the ref as function.

@ericadamski

Copy link
Copy Markdown
Contributor Author

👍

@skellock

skellock commented Oct 4, 2017

Copy link
Copy Markdown
Contributor

Omg, that setTimeout was nasty. Thx for the proper technique.

@skellock skellock merged commit 8caaf65 into infinitered:master Oct 4, 2017
@ericadamski

Copy link
Copy Markdown
Contributor Author

@skellock it was pretty nasty 😜

session.ui.watchToAdd = e.target.value
}

componentDidUpdate() {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

this is a really good way of doing it @ericadamski

@M-ZubairAhmed

Copy link
Copy Markdown
Contributor

@ericadamski i learned a lot from this PR thank you

@ericadamski

Copy link
Copy Markdown
Contributor Author

@M-ZubairAhmed I am really glad! Thank you :)

@skellock skellock added this to the 1.13 milestone Nov 21, 2017
joshuayoes pushed a commit that referenced this pull request Jan 17, 2023
Co-authored-by: Renovate Bot <bot@renovateapp.com>
joshuayoes pushed a commit that referenced this pull request Jan 27, 2023
Co-authored-by: Renovate Bot <bot@renovateapp.com>
joshuayoes pushed a commit that referenced this pull request Jan 30, 2023
Co-authored-by: Renovate Bot <bot@renovateapp.com>
joshuayoes pushed a commit that referenced this pull request Feb 1, 2023
Co-authored-by: Renovate Bot <bot@renovateapp.com>
silasjmatson pushed a commit that referenced this pull request Mar 14, 2023
Co-authored-by: Renovate Bot <bot@renovateapp.com>
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