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

Support for async view functions #88

Open
mason-alex opened this issue Feb 23, 2025 · 0 comments
Open

Support for async view functions #88

mason-alex opened this issue Feb 23, 2025 · 0 comments

Comments

@mason-alex
Copy link

Title:
Support for async view functions.

Description:
If you designate a view as async, then the it will not render. No errors are printed to console(Ctrl+Shift+I). You can momentarily see "View is Rendering" before it disappears.

Example of non working code:

return async function View() {
    return <p>Hello!</p>;
}

Actual Behavior:
No view is rendered when the function is designated as async.

Expected Behavior:
The view would render and allow for asynchronous async / await patterns in views.

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

No branches or pull requests

1 participant