How to use the redux-devtools.ActionCreators function in redux-devtools

To help you get started, we’ve selected a few redux-devtools examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github noderaider / gridiron / packages / redux-devtools-grid-monitor / lib / index.js View on Github external
function imports() {
  try {
    var React = require('react');

    var _require = require('redux-devtools');

    var ActionCreators = _require.ActionCreators;

    return { React: React, ActionCreators: ActionCreators };
  } catch (err) {
    console.warn('redux-devtools-grid-monitor: could not import dependencies. If working in linked mode with createGridMonitor factory, you may disregard this message.');
    return { React: { Component: function Component() {},
        PropTypes: { shape: function shape() {
            isRequired: false;
          },
          func: { isRequired: false },
          oneOfType: function oneOfType() {
            isRequired: false;
          }
        }
      },
      ActionCreators: {}
    };
github whetstone / redux-devtools-diff-monitor / lib / index.js View on Github external
var _diffState2 = _interopRequireDefault(_diffState);

var _reduxDevtools = require('redux-devtools');

var _aphrodite = require('aphrodite');

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }

function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }

function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }

var reset = _reduxDevtools.ActionCreators.reset;
var rollback = _reduxDevtools.ActionCreators.rollback;
var commit = _reduxDevtools.ActionCreators.commit;
var toggleAction = _reduxDevtools.ActionCreators.toggleAction;
var jumpToState = _reduxDevtools.ActionCreators.jumpToState;

var ManifestComponent = function (_React$Component) {
  _inherits(ManifestComponent, _React$Component);

  function ManifestComponent() {
    var _Object$getPrototypeO;

    var _temp, _this, _ret;

    _classCallCheck(this, ManifestComponent);

    for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {
github whetstone / redux-devtools-diff-monitor / lib / index.js View on Github external
var _aphrodite = require('aphrodite');

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }

function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }

function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }

var reset = _reduxDevtools.ActionCreators.reset;
var rollback = _reduxDevtools.ActionCreators.rollback;
var commit = _reduxDevtools.ActionCreators.commit;
var toggleAction = _reduxDevtools.ActionCreators.toggleAction;
var jumpToState = _reduxDevtools.ActionCreators.jumpToState;

var ManifestComponent = function (_React$Component) {
  _inherits(ManifestComponent, _React$Component);

  function ManifestComponent() {
    var _Object$getPrototypeO;

    var _temp, _this, _ret;

    _classCallCheck(this, ManifestComponent);

    for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {
      args[_key] = arguments[_key];
    }

    return _ret = (_temp = (_this = _possibleConstructorReturn(this, (_Object$getPrototypeO = Object.getPrototypeOf(ManifestComponent)).call.apply(_Object$getPrototypeO, [this].concat(args))), _this), _this.handleJumpTo = function (id) {