To render Shiny in React context, we are essentially translating htmltools tags to React elements. The bulk of the work is done by prepareProps() JS function, but it has limitations (see comments in the code). It would be beneficial to use attributeToProps() from html-react-parser library, as it might handle more cases than our home-brewed solution. In particular, we could get rid of "unsupported kebab-case CSS property" warnings.
To render Shiny in React context, we are essentially translating htmltools tags to React elements. The bulk of the work is done by
prepareProps()
JS function, but it has limitations (see comments in the code). It would be beneficial to useattributeToProps()
from html-react-parser library, as it might handle more cases than our home-brewed solution. In particular, we could get rid of "unsupported kebab-case CSS property" warnings.