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

Some await bugs #1061

Closed
dxlbnl opened this issue Dec 31, 2017 · 1 comment
Closed

Some await bugs #1061

dxlbnl opened this issue Dec 31, 2017 · 1 comment
Labels

Comments

@dxlbnl
Copy link
Contributor

dxlbnl commented Dec 31, 2017

I've encountered some bugs with the new and fresh Await block.
There's a repl here.

  • First of a minor issue, the Components used in the await block don't get registered as 'used', so a warning is incorrectly shown
  • Then it appears a subcomponent in the await block won't call oncreate
  • In another situation it does call oncreate (unsure how/why), but it's called in a state where the component isn't mounted yet (I notice this using refs, and them being undefined in a situation where I'm using await, and a working situation when I don't)
@arxpoetica arxpoetica added the bug label Jan 5, 2018
Rich-Harris added a commit that referenced this issue Jan 11, 2018
validate contents of await blocks
Rich-Harris added a commit that referenced this issue Jan 13, 2018
fire oncreate handlers for components inside await blocks
@Rich-Harris
Copy link
Member

These are fixed in 1.52 — thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants