diff --git a/packages/web-components/IMPLEMENTATION_NOTES.md b/packages/web-components/IMPLEMENTATION_NOTES.md index 4cb0cfb9af1..e586a0ab993 100644 --- a/packages/web-components/IMPLEMENTATION_NOTES.md +++ b/packages/web-components/IMPLEMENTATION_NOTES.md @@ -16,6 +16,11 @@ - [Composite components](#composite-components) - [Components rendering modal](#components-rendering-modal) - [CTA components](#cta-components) +- [React integration](#react-integration) + - [React wrapper generator](#react-wrapper-generator) + - [Build procedure to generate React wrapper](#build-procedure-to-generate-react-wrapper) + - [Limited components to generate React wrapper](#limited-components-to-generate-react-wrapper) + - [Non-React APIs for React integration](#non-react-apis-for-react-integration) - [Container components](#container-components) - [Triggering action dispatcher](#triggering-action-dispatcher) - [Masthead search](#masthead-search) @@ -114,6 +119,69 @@ There are some common behaviors in CTA components, that is implemented by [`CTAM - Send an event (`dds-cta-request-video-data`) when user clicks on CTA so that the lightbox video player code can launch the light box - (Video caption/duration/thumbnail) +## React integration + +While Angular/Vue require limited/no change in application to use Web Components, React has some problems with Web Components support. React heavily relies on its knowledge with regard to how intrinsic HTML elements work. + +For example, if you have ``, the DOM becomes `` that is different from how `