Skip to content

Commit

Permalink
Put back explanation for Redux Provider and React context
Browse files Browse the repository at this point in the history
  • Loading branch information
happypoulp committed Sep 18, 2016
1 parent c3c455d commit 032e159
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion 11_src/src/application.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,12 @@
// brings to us: the Provider component.

// Provider is a React Component designed to be used as a wrapper of your application's root component. Its
// purpose is to provide your Redux instance to all of your application's components. Documentation is here:
// purpose is to provide your Redux instance to all of your application's components. How it does that does not
// really matter to us but just to let you know, it's using React's "context" feature (it's an advanced and
// experimental feature so you don't have to know about it, but if you're curious, here are few links to learn about it:
// - https://www.tildedave.com/2014/11/15/introduction-to-contexts-in-react-js.html
// - https://facebook.github.io/react/docs/context.html).
// Documentation for Redux Provider is here:
// https://github.com/reactjs/react-redux/blob/3.x/docs/api.md#provider-store

import React from 'react'
Expand Down

0 comments on commit 032e159

Please sign in to comment.