Commit Graph

144 Commits

Author SHA1 Message Date
Dan Abramov
ccbccd6810 Reword the comment 2015-12-27 00:09:51 +00:00
Dan Abramov
6dcde1f83b Merge branch 'master' of https://github.com/gaearon/redux-devtools 2015-12-27 00:08:48 +00:00
Dan Abramov
8e9326297b Merge pull request #208 from zalmoxisus/master
Solve the issue with loosing sourceMaps in Chrome
2015-12-27 00:08:40 +00:00
Dan Abramov
7ad3bb259c Tweak the warning messages 2015-12-27 00:07:14 +00:00
Robert Knight
afb3b8b5a1 Warn and do not attempt to render if store not instrumented
Very confusing error messages were produced if the
container component returned by createDevTools()
was constructed without a store being injected or
if the store had not been instrumented with
DevTools.instrument()

Add warnings for both of these cases and avoid console error
spam by short circuiting rendering of the devtools if they
have not been setup correctly.

Fixes #179
2015-12-26 23:45:02 +00:00
Zalmoxisus
10db8acea4 Solve the issue with loosing sourceMaps in Chrome
Fix #193.
2015-12-20 20:15:21 +02:00
Dan Abramov
e94eab68e3 Update to final 3.0 APIs 2015-12-14 01:58:27 +00:00
Callum Rimmer
7d7370e471 Added Props store option to createDevTools.js 2015-10-31 10:52:23 +00:00
Dan Abramov
7e3f60572a Style tweak 2015-10-17 16:00:41 +03:00
Dan Abramov
43bf473b12 Don't recompute old states when toggling actions 2015-10-17 15:44:30 +03:00
Dan Abramov
4249b3a991 Normalize actions in lifted state as per #134 2015-10-17 03:53:43 +03:00
Dan Abramov
b4da7aaa48 Bring over importing state from #118 2015-10-17 02:34:46 +03:00
Dan Abramov
c23a997a0f Rewrite to simpler API 2015-10-17 02:21:07 +03:00
Dan Abramov
1f21d83931 This API is much better 2015-10-16 23:59:32 +03:00
Dan Abramov
79b51a7c0f Component-centric API, horrors are encapsulated 2015-09-28 21:12:07 +03:00
Dan Abramov
34d599af77 Fix lint 2015-09-28 18:39:13 +03:00
Dan Abramov
4428e8818d Refactor 2015-09-28 18:38:33 +03:00
Dan Abramov
2138ca663e Connect once at the top 2015-09-28 16:10:33 +03:00
Dan Abramov
4375d69d5e Explicit > implicit 2015-09-28 13:06:05 +03:00
Dan Abramov
b2210f161c Fix lint 2015-09-28 03:54:13 +03:00
Dan Abramov
c1256ed8ff Figure out monitor composition 2015-09-28 03:52:10 +03:00
Dan Abramov
1edf2d25c8 Merge 2015-09-27 21:42:13 +03:00
Dan Abramov
b5292609da Do not recompute states unless necessary 2015-09-27 20:08:58 +03:00
Dan Abramov
58c0a6432f Remove RECOMPUTE_STATES 2015-09-27 16:55:57 +03:00
Dan Abramov
ddeda5d4d6 Rename variable 2015-09-27 16:34:23 +03:00
Dan Abramov
4ac31f985a Allow monitors to have their own reducers 2015-09-27 16:10:46 +03:00
Dan Abramov
a4306d6ba4 Put the original Monitor on statics 2015-09-24 23:38:10 +03:00
Dan Abramov
49bb120444 merge 2015-09-24 23:05:55 +03:00
Dan Abramov
94826d610e Bring back the ability to pass raw store 2015-09-24 22:51:59 +03:00
Lee Bannard
95a2636370 add tests for persistState.js 2015-09-24 19:20:02 +01:00
Dan Abramov
274d0cba27 Extract LogMonitor 2015-09-24 20:35:33 +03:00
Dan Abramov
e1585eae4f Merge pull request #119 from nikgraf/patch-1
fix(LogMonitor): add theme to propTypes
2015-09-24 17:59:38 +03:00
Nik Graf
c5165b1bce fix(LogMonitor): allow a string for the theme prop 2015-09-20 18:25:22 +02:00
Lee Bannard
41e444f75c Return last non-undefined state from getState() 2015-09-20 11:49:37 +01:00
Nikolaus Graf
ef559a4848 fix(LogMonitor): add theme to propTypes 2015-09-20 11:34:44 +02:00
Dan Abramov
22011114f5 Fix lint 2015-09-12 17:17:41 +03:00
Dan Abramov
431adfd611 Merge pull request #101 from conundrumer/master
add actionDeserializer callback to persistState
2015-09-12 16:54:46 +03:00
chriskjaer
134098d2be Extend component
React 0.14 rc1 gives warnings if React.Component
isn't extendend. See https://facebook.github.io/react/blog/2015/09/10/react-v0.14-rc1.html#new-deprecations-introduced-with-a-warning
2015-09-11 11:59:05 +02:00
David Lu
b4ea5c278e refactor deserialization in persistState 2015-09-10 23:46:33 -04:00
David Lu
3294864b7d add actionDeserializer callback to persistState 2015-09-10 23:44:49 -04:00
Dan Abramov
52bd8c0d7c Merge pull request #78 from FredyC/persist-state-serialization
custom parsers for persistState
2015-09-03 16:17:33 +03:00
Dan Abramov
d3b850f750 Merge pull request #75 from jackielii/visible-on-load
add visibleOnLoad props to LogMonitor
2015-09-03 16:12:02 +03:00
Dan Abramov
329b755a3a Update to Redux 2.0 2015-09-01 04:40:45 +03:00
Jackie Li
fa5f907738 add visibleOnLoad prop to LogMonitor 2015-08-29 00:13:14 +01:00
Shu Uesugi
445e3c9ecd Extract JSONTree 2015-08-24 19:43:31 -07:00
Jose Garcia
b5a878df87 Fix for issue #83 - JSONObjectNode#getChildNodes: Cannot read property '...' of null (previousData) 2015-08-23 19:26:38 -04:00
FredyC
6ee3b4373b using deserializer callback for persistState 2015-08-23 13:43:26 +02:00
FredyC
fff7e39874 using Number.isSafeInteger for iterable size (+ fixed some comments) 2015-08-22 17:51:37 +02:00
FredyC
11af53ccfb counting entries of iterable structure 2015-08-22 17:38:43 +02:00
FredyC
04f15f6d4d arrays shouldn't be treated as an iterable 2015-08-22 06:13:04 +02:00