The Wayback Machine - https://web.archive.org/web/20200818224503/https://github.com/topics/context-api
Skip to content
#

context-api

Here are 702 public repositories matching this topic...

rluiten
rluiten commented Jul 31, 2020

I was just trying out react-sweet-state as it looks interesting and created a small to do list app to play with it.

I put an array of Todo objects in an array as the state of the store.
This produces no errors from typescript and even runs without error until you setState new values of the state.

The state of the store being an array is not supported as I later discovered in the react-sweet

johnmeunier
johnmeunier commented May 12, 2020

Some useful stuffs are missing (or is not explicit) from the documentation :

  • For test with identityserver, there is some better configuration :
    • response_type: 'code',
    • client_id: 'interactive.public',
  • For Chrome with blocked third parties cookie, you have to add the authority in authorized cookies to prevent "Authentification en cours" stuck
  • The "How to consume part" is n
SoaresMG
SoaresMG commented Aug 13, 2020

Issue Report

Right now we have some console.log to help debug the component.

These logs are wrapped by the following:

if (!process || !process.env || process.env.NODE_ENV !== 'test') {
  ...
}

If NODE_ENV is production it will be included in the bundle.

Expected Behavior

We should exclude those logs when building with NODE_ENV = "production".

To do th

Improve this page

Add a description, image, and links to the context-api topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the context-api topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.