Skip to content

README example code imports connected App instead of plain component #13

@stanley-roache

Description

@stanley-roache

Readme for 04-add-state-management. When connecting the App component and updating tests:

Now let's change our src/components/App/index.spec.js file to import our component App, as well as our various functions, instead of the container App:

import App from '.'

If I'm understanding right this should be:

import { App } from '.'

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