Skip to content
This repository was archived by the owner on Apr 5, 2020. It is now read-only.

Standard writing of React Component #9

@amerllica

Description

@amerllica

In the supplier.js file there are two exports and it is not based on React Component writing guidelines. the withSnackBar and SnackBarSupplier should be in separated files and the creation of context should be happening in a separate file to pass to withSnackBar.js and SnackBarSupplier files.

It's my idea to adhere to the guidelines of Facebook to react components. maybe there is a better way.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions