salesforce / design-system-react

Salesforce Lightning Design System for React
https://design-system-react-site.herokuapp.com/
BSD 3-Clause "New" or "Revised" License
915 stars 416 forks source link

Component compatibility with lightning web security #3044

Closed gburnett closed 2 years ago

gburnett commented 2 years ago

This is possibly related to the platform rather than this component library but I think that it is worth asking here.

Does anybody know if the design system react components are tested against, or compatible with, lightning web security?

I have asked a question on the salesforce stack exchange to explain in more detail.

The short version is that I have a react app that uses the modal from this library. I bundle that app as an LWC static resource. Attempting to open the modal, in an org with LWS enabled, will cause the LWC to fail.

interactivellama commented 2 years ago

The React render library is not allowed in Lightning--outside of a workaround such as an iframe.

gburnett commented 2 years ago

The React render library is not allowed in Lightning ...

@interactivellama When you say 'Lightning' here are you referring to LWS or LWC?

interactivellama commented 2 years ago

Yes, the Lightning Platform / Salesforce DX / web services.