Skip to content
This repository was archived by the owner on Sep 10, 2022. It is now read-only.
This repository was archived by the owner on Sep 10, 2022. It is now read-only.

Export createEventHandlerWithConfig()? #520

@acchou

Description

@acchou

The documentation suggests using functions like componentFromStreamWithConfig() instead of componentFromStream() to avoid having to set global state with setObservableConfig().

It seems there's also a similar situation with createEventHandlerWithConfig() vs createEventHandler(). There are two issues though:

(1) There's no mention of createEventHandlerWithConfig() in the docs.
(2) The Typescript typings for recompose don't export createEventHandlerWithConfig(), so it appears to be unavailable as an import.

I'd be happy to submit a pull request if I get some direction on where this should go.

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