React context to access the platform URL state.
Usage
import { PlatformStateContext } from 'nr1'
Examples
Basic
<PlatformStateContext.Consumer> {(platformState) => <pre>{JSON.stringify(platformState, null, 4)}</pre>}</PlatformStateContext.Consumer>
Methods
PlatformStateContext.subscribe
function (subscriber: function Function that will be called.
) => undefined