Tim Dorr
d18a977260
Switch out non-ASCII quotes for ASCII versions. ( #1874 )
2016-08-01 16:45:58 -04:00
Frankie Bagnardi
47a3fa882a
fixes xss vulnerability in universal example, #1855 ( #1856 )
2016-07-19 11:32:15 -04:00
Tyler Collier
0d4315ffea
Update doc to use test with Enzyme ( #1692 )
2016-06-26 19:39:53 -04:00
Herryanto Siatono
3fb712d1f0
Fix duplicate statement in todomvc test spec
2016-05-31 00:46:36 +08:00
akai
325a937589
Fix typo: OccurenceOrderPlugin -> OccurrenceOrderPlugin ( #1778 )
2016-05-28 17:57:55 +01:00
David Livingston
b523aa4ae5
Issue 1743 ( #1770 )
...
* rename createStore param `initialState` to `preloadedState`
* rename configureStore param `initialState` to `preloadedState`
* rename `window.__INITIAL_STATE__` in examples and docs
rename window.__INITIAL_STATE__ to window.__PRELOADED_STATE__
2016-05-27 20:50:45 +01:00
Jon Surrell
2ec2b1a239
Update api.js normalizr URL ( #1762 )
...
The normalizr lib has moved to a different location. Update the URL in comments to point to the new repo.
2016-05-23 12:47:44 +01:00
Jiayi Hu
afffc26dc3
Add expect to devDependencies to run tests ( #1721 )
...
`expect` package is missing from devDependencies and it's required to run tests in this example.
2016-05-13 14:01:40 +01:00
Dan Abramov
b3f1c16992
Refactor selector colocation for better readability
2016-05-10 18:50:06 +01:00
Dan Abramov
63d7e27172
Use a different convention for colocating reducers with selectors
2016-05-10 18:44:57 +01:00
Gabin Aureche
e64573ecf9
Fix real world to be case insensitive ( #1685 )
2016-05-01 20:15:18 +01:00
Josh Burgess
14d4a51e6c
Use object literal property value shorthand consistently
...
All action functions returned objects using the property value shorthand for the 'reddit' key & value except for 'receivePosts'. I updated it simply for consistency. I think it was just an oversight.
2016-04-25 18:13:40 -04:00
Mike Wilcox
9fea1dedc5
fix minor typo
2016-03-09 11:40:08 -05:00
Frank Showalter
5d74b3b39b
add tree view example tests (for #1481 )
2016-03-08 07:49:56 -05:00
Frank Showalter
9353e1e5ba
add shopping cart example tests (for #1481 )
2016-03-07 08:08:03 -05:00
Dan Abramov
be55659360
Remove NoErrorsPlugin from examples
...
We should only add it later when/if webpack-hot-middleware learns to display syntax error overlay over last successful bundle instead of just silently serving it.
2016-03-06 04:34:39 +00:00
Dan Abramov
0b9416bb8d
Remove hacks to alias Redux to src folder in examples
...
We don’t actively develop the source anymore for this to be useful.
This only creates confusion and, additionally, breaks hot reloading because of BABEL_ENV conflicts with the root .babelrc.
2016-03-06 04:34:39 +00:00
Dan Abramov
c12e8af026
Update some example dev packages
2016-03-06 04:34:39 +00:00
Frank Showalter
17ed9185e6
use enzyme in tests ( resolves #1481 )
2016-03-05 20:55:07 -05:00
just-boris
4a80c207d1
tree-view: simplify reducer function
2016-03-02 22:30:10 +03:00
Dan Abramov
fa96297e89
Merge pull request #1442 from coryhouse/patch-6
...
Added missing propType validation
2016-02-25 03:10:27 +00:00
Cory House
4e7c5634c5
Added missing propType validation
2016-02-24 21:07:55 -06:00
Cory House
6828ebece2
Added missing propType validation
2016-02-24 21:06:50 -06:00
Dave Marr
cd146146c4
Update Github repo url
2016-02-17 23:19:51 -08:00
Dan Abramov
1c7ab52d2e
Use react-router-redux@4
2016-02-17 15:52:20 +00:00
Dan Abramov
c95fa61b60
Merge pull request #1409 from jontewks/fix-examples-tests
...
Add missing dependencies to get test:examples to run
2016-02-16 19:19:56 +00:00
Jon Tewksbury
bbc0018578
Add npm install command prior to running tests in testAll.js
2016-02-16 10:06:46 -08:00
Tony Spiro
563d7c208b
submit form ToDo examples and docs
2016-02-15 14:59:41 -06:00
Tony Spiro
4266ed68d3
Update AddTodo.js
2016-02-13 09:09:27 -06:00
Tony Spiro
c4e01c285e
Update AddTodo.js
2016-02-13 09:08:54 -06:00
Tony Spiro
73ede6bd00
examples form onsubmit
2016-02-13 00:17:35 -06:00
Dan Abramov
24d9c4ddcd
rackt -> reactjs (see #1392 )
2016-02-12 18:02:16 +00:00
Dan Abramov
872f231483
Fix compilation in examples now that env is required in src/.babelrc
2016-02-07 22:19:59 +00:00
Raphael Mu
1438a4a3fe
update async example: streamline isEmpty and isFetching
2016-02-03 08:13:14 -05:00
Brandon Dail
ed93e95f8c
use isEmpty variable in asnyc example
...
use a variable `isEmpty` instead of accessing `posts.length` twice. Makes it more readable, and short enough for the whole expression to exist on one line.
2016-02-02 21:09:12 -06:00
Nelson Chen
b239e9bc72
Update counter's "Increment if odd" to increment on negative odd numbers too.
2016-02-02 17:10:55 -08:00
Nelson Chen
67f9dcca8b
Update counter-vanilla's "Increment if odd" to increment on negative odd numbers too.
2016-02-02 16:48:29 -08:00
Dan Abramov
f2542fe69f
Fix reducer import in test
2016-02-02 22:28:30 +00:00
Dan Abramov
8be773a411
Minor tweaks to docs
2016-02-02 21:58:10 +00:00
Dan Abramov
6780691bd1
Merge pull request #1285 from rackt/___react-docs-update
...
Update "Usage with React"
2016-02-02 21:49:08 +00:00
Dan Abramov
803e7fd241
Fix HMR for reducers now that we use Babel 6
2016-02-02 21:37:06 +00:00
Dan Abramov
40810c075e
Update todos, todos-with-undos, and Undo recipe to match each other
2016-02-02 21:33:17 +00:00
Dan Jensen
d7b54ee34a
Add simplified "todos" example
2016-02-02 21:33:16 +00:00
Dan Abramov
f0e945d9d9
Bump deps
2016-02-02 18:54:31 +00:00
Dan Abramov
305f9d2830
Bump redux and react-redux versions in examples
2016-02-02 13:41:52 +00:00
Dan Abramov
79b95f3511
Merge with master
2016-02-02 11:51:07 +00:00
Dan Abramov
aab135ffd6
babel-polyfill should be a dependency of examples that use it
2016-02-02 11:38:40 +00:00
Dan Abramov
a4a368739c
Fix accidental typo
2016-02-02 11:38:40 +00:00
Dan Abramov
bb06fb2e36
Change examples to use less dependencies
2016-02-02 03:33:27 +00:00
Dan Abramov
a838fb4ae6
Fix conflicts and add explicit plugin config
2016-02-02 01:56:59 +00:00