Skip to content
New issue

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

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

Already on GitHub? # to your account

[Docs] Decouple Screen class from State class in the docs example #2000

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

mck182
Copy link

@mck182 mck182 commented Mar 18, 2025

I'd like to propose decoupling the Screen from State in the
intro docs section to suggest a better pattern.

The Screen is kind of an API that should be exposed, allowing
other code to navigate to it, but the State is internal to the
Presenter and the Ui, so this updates the docs to not nest
the State under the Screen as they are independent.

The Screen is kind of an API, allowing other code to
navigate to it, but the State is internal to the Presenter
and the Ui, so this updates the docs to not nest the
State under the Screen as they are independent.
Copy link

Thanks for the contribution! Before we can merge this, we need @mck182 to sign the Salesforce Inc. Contributor License Agreement.

# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants