bitovi / bitovi/react-to-web-component

Is it possible to use a callback in a JSON type?

Open
#182 2 comments 1 reaction 0 assignees View on GitHub
Dominant language
TypeScript
Stars
944
Forks
52
PR merge metrics
No merged PRs in 30d

Description

There are many components in react that are using callback functions inside objects, it seems it's not working with web component JSON format, which is in fact expectable since it's just text, and it can't understand what is the function in the JSON. but would be really nice if we could use function as a object param like this.

```


```
is there any other way other than using the function param only as top level param?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.