Skip to content

event.prepend(...) doesn't work with undefined #35

@goodmind

Description

@goodmind

Code to reproduce the issue:

import { createEvent } from 'effector'

const click = createEvent()
click.watch(console.log)

const preclick = click.prepend(n => n)

preclick()

Expected behavior:

undefined in console

Actual behavior:

click.watch doesn't get called

Versions of packages used:

0.18.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingcoreeffector package

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions