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

Components aren't being rendered #44

Open
KuSi833 opened this issue Feb 7, 2023 · 1 comment
Open

Components aren't being rendered #44

KuSi833 opened this issue Feb 7, 2023 · 1 comment

Comments

@KuSi833
Copy link

KuSi833 commented Feb 7, 2023

None of the components were rendering for me unless I had the note I wanted loaded open and reloaded the app.
The console was filled with the following error: HTML Element must be attached to the dom before react can attach..

What ended up fixing it for me is that I straight up commented out the following code:

if (!el.isConnected) {
console.error('HTML Element must be attached to the dom before react can attach.');
return;

I'm sure this isn't a proper fix but it worked for me for the time being.

@rvjosh
Copy link

rvjosh commented Mar 14, 2023

I'm similarly having trouble getting components to render - I've tried looking at your fork but can't get that to work either unfortunately, and it's breaking a lot of the dataviewjs queries I have set up

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

2 participants