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

docs: Pure Components #1064

Merged
merged 10 commits into from
Dec 20, 2024
Merged

Conversation

dgodinez-dh
Copy link
Contributor

@dgodinez-dh dgodinez-dh requested a review from mofojed December 16, 2024 15:21
Copy link
Member

@mofojed mofojed left a comment

Choose a reason for hiding this comment

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

Yea I guess this is still valuable information. Interesting this section on the React docs site don't mention anything about memoization or the PureComponent class.

plugins/ui/docs/describing/pure_components.md Outdated Show resolved Hide resolved
def event_handler_example():
# An event handler for a button
def button_handler():
print("button pressed")
Copy link
Member

Choose a reason for hiding this comment

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

In the opening paragraph of this section, you say "update the screen, start an animation, or change data", then in this example you're just printing a log message. I think it would be more powerful to match the two; either include "print a message" in the opening paragraph, or change this example to update some data.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Updated

@dgodinez-dh dgodinez-dh marked this pull request as ready for review December 17, 2024 13:34
@dgodinez-dh dgodinez-dh requested a review from mofojed December 17, 2024 13:34
plugins/ui/docs/describing/pure_components.md Show resolved Hide resolved
plugins/ui/docs/describing/pure_components.md Outdated Show resolved Hide resolved
plugins/ui/docs/describing/pure_components.md Outdated Show resolved Hide resolved
plugins/ui/docs/describing/pure_components.md Outdated Show resolved Hide resolved
plugins/ui/docs/describing/pure_components.md Outdated Show resolved Hide resolved
plugins/ui/docs/describing/pure_components.md Outdated Show resolved Hide resolved
plugins/ui/docs/describing/pure_components.md Outdated Show resolved Hide resolved
plugins/ui/docs/describing/pure_components.md Outdated Show resolved Hide resolved
plugins/ui/docs/describing/pure_components.md Outdated Show resolved Hide resolved
plugins/ui/docs/describing/pure_components.md Outdated Show resolved Hide resolved
@dgodinez-dh dgodinez-dh merged commit 30f3730 into deephaven:main Dec 20, 2024
17 checks passed
@dgodinez-dh dgodinez-dh deleted the dag_PureComponents branch January 2, 2025 18:44
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