Skip to content

Nested providers #180

@meiciuc

Description

@meiciuc

Hello everyone.
Please help me with some advice to complete the task.
The desired application structure is as follows:

<divReact>
  <NiceModal.Provider>
    <pixiReact>
       <NiceModal.Provider>
         <content/>
       </NiceModal.Provider>
    </pixiReact>
  </NiceModal.Provider>
</divReact>

There are two types of dialog boxes - on PixiReact and in html.
I want to manage them through one manager.
Please tell me how this can be implemented using NiceModal with nested providers, if it is possible, of course.

Thank you!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions