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

Closed
opened 2025-08-09 17:17:55 +00:00 by fergalmoran · 0 comments
Owner

Originally created by @jmfury on 4/4/2017

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

*Originally created by @jmfury on 4/4/2017* 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](https://cloud.githubusercontent.com/assets/7191639/24682851/78c9abae-1961-11e7-800e-7098613fda09.PNG) ![exportmycomponent](https://cloud.githubusercontent.com/assets/7191639/24682866/85f08802-1961-11e7-9c54-27a355341dab.PNG)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/JavaScriptServices#854
No description provided.