Skip to content

Doubt on render method using typescript #43

Description

@fernando-tiburcio

Hello guys, I need some help please!!!

I tried to use Remote Component in a CRA project with typescript, all the types looks good but when I try to use de render method I've got an error of type that I don't understand and don't know to fix

I used the CRA method, creating the files [RemoteComponent.ts / remote-component.config.ts] on src folder, mount a simple page application inside the app.tsx file (on the src) and create one separated component to remoteComponent like the images below.

Component
component

remote-component.config.ts
remote-component config

and finally remoteComponent.ts
remoteComponent

this is the error
Captura de tela de 2021-08-26 17-56-16

if anyone can help me, i will be eternally grateful

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions