Skip to content

Support async components #1012

Open
Open
@matt-sanders

Description

@matt-sanders

Version

1.0.0-beta.25

Reproduction link

https://codesandbox.io/s/vql5z8zxv7

Steps to reproduce

Everything should run immediately within the codesandbox link. Note that sometimes the console doesn't update so you may have to open the chrome console to see the output.

What is expected?

You should be able to add async components without an error.

What is actually happening?

When you create an async component, you will get the following error:
TypeError: Cannot read property 'props' of undefined. This was previously working in 1.0.0-beta.20 but it seems that from 21 onwards it was broken, however 21 gives a slightly different error.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions