Skip to content

No tree generated for index.tsx files #44

@craig-ryan-sn

Description

@craig-ryan-sn

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions