Objective Redux

Redux made better, objectively.

ObjectiveStoreProvider

function ObjectiveStoreProvider(__namedParameters: function undefined(): null): Element

Provides an ObjectiveStore to child React components.

Parameters

__namedParameters: function undefined(): null

Returns

Element
The provider that will render with its child components.

Examples

export const objectiveStore = new ObjectiveStore();

ReactDOM.render(
  <ObjectiveStoreProvider objectiveStore={objectiveStore}>
    <App />
  </ObjectiveStoreProvider>,
  document.getElementById('root')
);