You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to load an html which has tailwind classes in it from url, dangerouselySetInnerHTML to a div and properly show it in a react component. Now it's inside a library that's supposed to be installed by another react project and show it. I tried to use it in a new react app and it works but somehow it doesn't work when I install it in a remix.run project. Can you help me figure what I am doing wrong?
Thanks.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
My component library is here
I am trying to load an html which has tailwind classes in it from url, dangerouselySetInnerHTML to a div and properly show it in a react component. Now it's inside a library that's supposed to be installed by another react project and show it. I tried to use it in a new react app and it works but somehow it doesn't work when I install it in a remix.run project. Can you help me figure what I am doing wrong?
Thanks.
Beta Was this translation helpful? Give feedback.
All reactions