indeedeng / indeedeng/react-singleton-context

Full Usage Example

Open
#13 1 comment 0 reactions 1 assignee View on GitHub

@juliaschiller150 is already working on this.

Since Jan 28, 2025.

documentation
Dominant language
JavaScript
Stars
37
Forks
3
PR merge metrics
No merged PRs in 30d

Description

Looking at the documentation, I am able to try out how to import and use it to create/register context.
But I am still not sure how to consume it on the remote app?
Specifically,

  1. How do we import the Context API object on the remote app/module side (one which was registered using createRegisteredContext)?
  2. Are there some configurations needed to be specified for the "exposes" OR "shared" for the Context API object itself on the host/remote app side?

Any full usage example (both host and remote) would be helpful.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.