Skip to content
This repository was archived by the owner on Apr 8, 2020. It is now read-only.
This repository was archived by the owner on Apr 8, 2020. It is now read-only.

Contruct + Call Signature for Child React Components in TypeScript JSX #843

Closed
@jmfury

Description

@jmfury

Can someone give a real world gist or example for how to legitimately link up a child component using a similar stack to what is provided in the ReactReduxSpa JavaScript Services Sample?

I am currently hitting errors of not having a construct or call signature no matter how I go about it.

Addressing those errors in some hacky ways, I am then hitting errors when exporting and nowhere does it [in the documentation] display a simple example of the proper usage of 'export default' or otherwise to truly export the child component for use with a parent.

In reference to the documentation here: https://www.typescriptlang.org/docs/handbook/jsx.html

I keep going in circles and since this is such a specific use case I figured I'd add an issue here.

mycomponent
exportmycomponent

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