Skip to content

fit for RN? #29

@KeyHQ

Description

@KeyHQ

Is this package currently applicable to RN? I tried to use it in the RN project and pass data to components as props, but it failed.

// react
const Card = reactifyWc("my-card");
<Card   data="1234"/>

//web-components
@property()
  data:string|number=0;

render(){
return html`
<div>${this.data}<div>
`
}

can not get "1234"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions