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

No tree generated for index.tsx files #44

Open
craig-ryan-sn opened this issue Oct 25, 2023 · 0 comments
Open

No tree generated for index.tsx files #44

craig-ryan-sn opened this issue Oct 25, 2023 · 0 comments

Comments

@craig-ryan-sn
Copy link

craig-ryan-sn commented Oct 25, 2023

I see related issues from back in March, were they ever resolved? I'm using ReacTree v1.0.8

I have a react TS NextJS project with yarn workspaces, so I have imports like this

import { useQuery } from '@apollo/client';
import { DraftStatus } from '@srnade/common';
import { Button, Icon, Typography } from '@srnade/ui';

My index.tsx contains simple structure like:

const MyStudio: NextPage = (...
<Container
<Link...
<Scroll...
<MyOtherComponent

nothing is displayed including any data or child components. Just a single node for index.tsx itself and a link to open the file. Can you explain what is wrong with the above, and why it can't even expand simple children imported via relative imports? Does it need to be able to resolve everything before it can display anything at all?

Hope the above is clear, thanks!

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