Contexte React pour accéder à l'état de l'URL de la plateforme.
Usage
import { PlatformStateContext } from 'nr1'
Exemples
Basique
<PlatformStateContext.Consumer> {(platformState) => <pre>{JSON.stringify(platformState, null, 4)}</pre>}</PlatformStateContext.Consumer>
Méthodes
PlatformStateContext.subscribe
function (subscriber: function Function that will be called.
) => undefined