Skip to content

Should example code work as is? #30

@MrHubble

Description

@MrHubble

Thanks for creating this great resource 🙌

Is it a goal that readers should be able to copy and use the code and have a working example?

With the Single Responsibility article, I can't determine where open would be called from with the good example:

Screen Shot 2020-06-12 at 11 56 08 am

With the bad example, I can imply that there would be a button/link with a openModal action:

Screen Shot 2020-06-12 at 11 58 04 am

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions