Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Jul 6, 2025. It is now read-only.

Asynchronous Import doesn't work #166

Unanswered
oyzhen asked this question in Q&A
Feb 27, 2021 · 1 comments · 5 replies
Discussion options

aleph version 0.3.0-alpha.8
deno version 1.7.5

Module '"https://deno.land/x/aleph@v0.3.0-alpha.8/mod"' has no exported member 'Import'

image

You must be logged in to vote

Replies: 1 comment 5 replies

Comment options

0.3.0 is in alpha and is extremely unstable so we haven't updated the docs yet. Please check #5 for a guide on explaining the smart JSX transform.

You must be logged in to vote
5 replies
Comment options

But, how can I disable SSR for specific components like "Slate"?

Comment options

@oyzhen I have to check again, but I don't think that is actually possible anymore.

Comment options

ije Feb 28, 2021
Maintainer

the import component has been removed in 0.3, please use react.lazy instead

Comment options

ije Feb 28, 2021
Maintainer

next patch the bundler also can work fine with react.lazy

Comment options

OK, I'll try. Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
Converted from issue

This discussion was converted from issue #165 on February 27, 2021 17:02.

AltStyle によって変換されたページ (->オリジナル) /