XxX_MLG Noob_XxX

    XxX_MLG Noob_XxX

    2 months ago
    Yes. But isn't there a section that has the logic for writing out the Web Component portion that's used? Or is all of that also defined within a React Component? I've never used Web Components before so I don't know what the code for making one looks like. 😅
    r

    rp

    2 months ago
    hey! let's talk in a thread
    Or is all of that also defined within a React Component? This.
    The react SDK uses the supertokens-web-js SDK for all the business logic and API calls
    XxX_MLG Noob_XxX

    XxX_MLG Noob_XxX

    2 months ago
    Okay. Does that mean the Web Component is defined in there? (Also to be sure, am I making sense when I refer to the
    Web Component
    ? The Web Component would include whatever is leveraging the Shadow DOM.)
    r

    rp

    2 months ago
    the web-js SDK has nothing to do with UI
    XxX_MLG Noob_XxX

    XxX_MLG Noob_XxX

    2 months ago
    Gotcha
    So on the right, there's a
    shadow-root
    that's attached to the DOM. It has its own sets of HTML elements, including some styles and the physical
    form
    . My question was where (in the codebase) does everything inside
    shadow-root
    get created.
    r

    rp

    2 months ago
    it's in lots of different places. This component is reused in several places and lots of components make this one up.
    So there isn't one place where it all exists
    XxX_MLG Noob_XxX

    XxX_MLG Noob_XxX

    2 months ago
    Ahhhhhhhhhh. Okay I see
    XxX_MLG Noob_XxX

    XxX_MLG Noob_XxX

    2 months ago
    Great! That's helpful! Thanks!