Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
goodmind opened this issue Jan 28, 2019 · 2 comments
Closed

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

goodmind opened this issue Jan 28, 2019 · 2 comments
Labels

Comments

@goodmind
Copy link
Contributor

@goodmind goodmind commented Jan 28, 2019

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

@goodmind goodmind added the bug label Jan 28, 2019
@gitpod-io-legacy-app

This comment has been minimized.

Copy link

@gitpod-io-legacy-app gitpod-io-legacy-app bot commented Jan 28, 2019

Open in Gitpod - starts a development workspace with a preconfigured issue branch and opens it in a browser IDE.

@goodmind goodmind added the scope: core label Feb 9, 2019
@zerobias

This comment has been minimized.

Copy link
Owner

@zerobias zerobias commented Feb 11, 2019

fixed in ba29b8b

@zerobias zerobias closed this Feb 11, 2019
zerobias added a commit that referenced this issue Feb 11, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.