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
bug Something isn't working core effector package

Comments

@goodmind
Copy link
Contributor

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 Something isn't working label Jan 28, 2019
@gitpod-io-legacy-app
Copy link

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

@goodmind goodmind added the core effector package label Feb 9, 2019
@zerobias
Copy link
Member

fixed in ba29b8b

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
Labels
bug Something isn't working core effector package
Projects
None yet
Development

No branches or pull requests

2 participants