circuit icon indicating copy to clipboard operation
circuit copied to clipboard

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

Open mck182 opened this issue 9 months ago • 1 comments

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.

mck182 avatar Mar 18 '25 15:03 mck182

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

salesforce-cla[bot] avatar Mar 18 '25 15:03 salesforce-cla[bot]