GithubHelp home page GithubHelp logo

redux-modal's Introduction

Redux Modal

Greenkeeper badge

Build Status

redux-modal connect your modal to the redux store, and let you control your modal by simply dispatching actions.

It works with any react based modal component.

Live demo

Installation

npm i --save redux-modal

API

connectModal(config)

Connect a modal component to redux store.

Arguments

  • config(Object)
    • name(String)(Require) The modal name.
    • resolve(Function) Things you want to resolve before show your modal, if return a promise, the modal will show after the promise resolved.
    • destroyOnHide(Bool) Whether destroy the modal state and umount the modal after hide, default is true.
    • getModalState(Function) A function that takes the entire Redux state and returns the state slice which corresponds to where the redux-modal reducer was mounted. Defaults to assuming that the reducer is mounted under the 'modal' key.

Returns

A React component class that injects modal state, handleHide and handleDestroy action creator into your modal component.

Examples

export default connectModal({ name: 'myModal' })(MyModal)

It will pass the modal state and a handleHide and handleDestroy action creator as props to your modal component.

If you mounted your modal reducer at some other location such as modals instead of modal use the getModalState config

export default connectModal({ name: 'myModal', getModalState: (state) => state.modals })(MyModal)

reducer

The modal reducer. Should be given to mounted to your Redux state at modal.

Example

import { combineReducers } from 'redux'
import { reducer as modal } from 'redux-modal'

export default combineReducers({
  ...yourOtherReducers,
  modal
})

show(name, props) | show(name, props: T)

The show modal action creator.

Arguments

  • name(String) The name of modal to show.
  • props(Object) Props pass to your modal.

Example

import { MyModalProps } from '...'

show<MyModalProps>('modalName', {prop1: 'example'})

hide(name)

The hide modal action creator.

Arguments

  • name(String) The name of modal to hide.

License

MIT

redux-modal's People

Contributors

apacheex avatar burtek avatar darmody avatar dependabot[bot] avatar dpikt avatar gnoff avatar greenkeeper[bot] avatar kubami avatar leo-esaki avatar paranoidjk avatar pkeuter avatar quolpr avatar shanehandley avatar shicholas avatar skwon-mdsol avatar yesmeck avatar ygist avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

redux-modal's Issues

How to update processed props passed to modal (to cause component to rerender)?

Say you do

this.props.show('myModal', { myProp: this.processData() });

From inside the modal, I call a method that updates data from the component that called the above. Because the prop is not directly passed to the modal, but a processed value first, the modal will not be rerendered. How would you guys handle this case?

An in-range update of @types/react is breaking the build ๐Ÿšจ

The devDependency @types/react was updated from 16.7.0 to 16.7.1.

๐Ÿšจ View failing branch.

This version is covered by your current version range and after updating it in your project the build failed.

@types/react is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.

Status Details
  • โŒ continuous-integration/travis-ci/push: The Travis CI build failed (Details).

FAQ and help

There is a collection of frequently asked questions. If those donโ€™t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot ๐ŸŒด

An in-range update of prettier is breaking the build ๐Ÿšจ

Version 1.14.0 of prettier was just published.

Branch Build failing ๐Ÿšจ
Dependency prettier
Current Version 1.13.7
Type devDependency

This version is covered by your current version range and after updating it in your project the build failed.

prettier is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.

Status Details
  • โŒ continuous-integration/travis-ci/push: The Travis CI build failed (Details).

Release Notes Prettier 1.14: YAML Support

๐Ÿ”— Release Notes

FAQ and help

There is a collection of frequently asked questions. If those donโ€™t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot ๐ŸŒด

`jsnext:main` entry point contains unsupported syntax

The src/ folder contains files that use object rest spread syntax, which will fail to build in projects that don't apply the requisite babel transform.

jsnext:main doesn't mean all language features are supported, but actually just indicates that an es2015 module is being exported (See this issue).

This could be resolved either by using lib as the only entry point or by replacing the spread syntax in src/.

An in-range update of prettier is breaking the build ๐Ÿšจ

The devDependency prettier was updated from 1.15.1 to 1.15.2.

๐Ÿšจ View failing branch.

This version is covered by your current version range and after updating it in your project the build failed.

prettier is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.

Status Details
  • โŒ continuous-integration/travis-ci/push: The Travis CI build failed (Details).

Release Notes for 1.15.2

๐Ÿ”— Changelog

FAQ and help

There is a collection of frequently asked questions. If those donโ€™t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot ๐ŸŒด

An in-range update of react-redux is breaking the build ๐Ÿšจ

The devDependency react-redux was updated from 5.1.0 to 5.1.1.

๐Ÿšจ View failing branch.

This version is covered by your current version range and after updating it in your project the build failed.

react-redux is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.

Status Details
  • โŒ continuous-integration/travis-ci/push: The Travis CI build failed (Details).

Release Notes for v5.1.1

Changes

  • Upgrade hoist-non-react-statics to deal with contextType (by @timdorr)
  • Treat null as a valid plain object prototype in isPlainObject() (#1075 by @rgrove)
Commits

The new version differs by 3 commits.

  • 5cdb83a 5.1.1
  • c9d214e Treat null as a valid plain object prototype in isPlainObject() (#1075)
  • 574ecc5 Upgrade hoist-non-react-statics to deal with contextType

See the full diff

FAQ and help

There is a collection of frequently asked questions. If those donโ€™t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot ๐ŸŒด

An in-range update of enzyme is breaking the build ๐Ÿšจ

There have been updates to the enzyme monorepo:

    • The devDependency enzyme was updated from 3.6.0 to 3.7.0.

๐Ÿšจ View failing branch.

This version is covered by your current version range and after updating it in your project the build failed.

This monorepo update includes releases of one or more dependencies which all belong to the enzyme group definition.

enzyme is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.

Status Details
  • โŒ continuous-integration/travis-ci/push: The Travis CI build failed (Details).

FAQ and help

There is a collection of frequently asked questions. If those donโ€™t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot ๐ŸŒด

Weird bug between redux-modal and redux-form

I'm using redux-modal to show when the user is submitting a form, and for some reason, every time redux-form dispatches an action is followed by a "@redux-modal/DESTROY" action.

An in-range update of husky is breaking the build ๐Ÿšจ

The devDependency husky was updated from 1.2.0 to 1.2.1.

๐Ÿšจ View failing branch.

This version is covered by your current version range and after updating it in your project the build failed.

husky is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.

Status Details
  • โŒ continuous-integration/travis-ci/push: The Travis CI build failed (Details).

Commits

The new version differs by 7 commits.

See the full diff

FAQ and help

There is a collection of frequently asked questions. If those donโ€™t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot ๐ŸŒด

Hello, I'm Heupr!

Welcome to the Heupr Integration!

Introduction

This space is where you will be able to adjust Heupr's settings on how you would like your new Issues to be handled.

I am programmed to automatically triage newly raised Issuesto the appropriate developer based on their subject matter expertise. For example, if you'd like me to triage all outstanding open Issues raised since January 2017, I can do that in a jiffy - just let me know!

Please take a moment to review and edit your config settings. Changes to settings need to be made directly in THIS issue body.

Configuration settings

This is the "settings" page for your Heupr Integration. Please make you selections inside the double quotes in the format indicated.

  • Specific users to not assign (e.g. IgnoreUsers="R2-D2,C-3PO"):
    IgnoreUsers=""
  • Automated Triage Start Date [RFC822] (e.g. TriageStartTime="01 Jan 17 00:00 PST"):
    TriageStartTime="06 Nov 17 13:06 UTC"
  • Labels to avoid assigning (e.g. "wontfix,up for grabs,for padawans"):
    IgnoreLabels=""
  • Contact info (optional, e.g. "[email protected]", "@chosen1"):
    Email=""
    Twitter=""

Contact

If you have any questions please reach out to [email protected].

An in-range update of @types/prop-types is breaking the build ๐Ÿšจ

The devDependency @types/prop-types was updated from 15.5.7 to 15.5.8.

๐Ÿšจ View failing branch.

This version is covered by your current version range and after updating it in your project the build failed.

@types/prop-types is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.

Status Details
  • โŒ continuous-integration/travis-ci/push: The Travis CI build failed (Details).

FAQ and help

There is a collection of frequently asked questions. If those donโ€™t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot ๐ŸŒด

An in-range update of @types/react is breaking the build ๐Ÿšจ

The devDependency @types/react was updated from 16.7.13 to 16.7.14.

๐Ÿšจ View failing branch.

This version is covered by your current version range and after updating it in your project the build failed.

@types/react is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.

Status Details
  • โŒ continuous-integration/travis-ci/push: The Travis CI build failed (Details).

FAQ and help

There is a collection of frequently asked questions. If those donโ€™t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot ๐ŸŒด

An in-range update of @types/react-redux is breaking the build ๐Ÿšจ

Version 6.0.6 of @types/react-redux was just published.

Branch Build failing ๐Ÿšจ
Dependency @types/react-redux
Current Version 6.0.5
Type devDependency

This version is covered by your current version range and after updating it in your project the build failed.

@types/react-redux is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.

Status Details
  • โŒ continuous-integration/travis-ci/push: The Travis CI build failed (Details).

FAQ and help

There is a collection of frequently asked questions. If those donโ€™t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot ๐ŸŒด

An in-range update of lint-staged is breaking the build ๐Ÿšจ

Version 4.2.0 of lint-staged just got published.

Branch Build failing ๐Ÿšจ
Dependency lint-staged
Current Version 4.1.3
Type devDependency

This version is covered by your current version range and after updating it in your project the build failed.

As lint-staged is โ€œonlyโ€ a devDependency of this project it might not break production or downstream projects, but โ€œonlyโ€ your build or test tools โ€“ preventing new deploys or publishes.

I recommend you give this issue a high priority. Iโ€™m sure you can resolve this ๐Ÿ’ช

Status Details
  • โŒ continuous-integration/travis-ci/push The Travis CI build could not complete due to an error Details

Release Notes v4.2.0

4.2.0 (2017-09-15)

Features

  • Print friendlier error if config is missing (#281) (30fa594)
Commits

The new version differs by 8 commits.

  • 30fa594 feat: Print friendlier error if config is missing (#281)
  • 0077644 chore: Cleanup package.json (#250)
  • 7abe23f ci: Disable email notifications from Travis CI
  • c9d0849 docs: Use emojis in the Readme
  • e976a3c docs: Add screenshot with the animated gif (#276)
  • 92e586b docs: Reformat code blocks
  • 9b0282a docs: Use diff formatting for code
  • 33da9b3 ci: Whitelist build branches to avoid duplicate builds (#269)

See the full diff

Not sure how things should work exactly?

There is a collection of frequently asked questions and of course you may always ask my humans.


Your Greenkeeper Bot ๐ŸŒด

How this example works?

<BootstrapModal />

But this component have 2 required props!
What must be in handleHide props?

An in-range update of react is breaking the build ๐Ÿšจ

There have been updates to the react monorepo:

    • The devDependency react was updated from 16.6.1 to 16.6.2.
  • The devDependency react-dom was updated from 16.6.1 to 16.6.2.

๐Ÿšจ View failing branch.

This version is covered by your current version range and after updating it in your project the build failed.

This monorepo update includes releases of one or more dependencies which all belong to the react group definition.

react is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.

Status Details
  • โŒ continuous-integration/travis-ci/push: The Travis CI build could not complete due to an error (Details).

FAQ and help

There is a collection of frequently asked questions. If those donโ€™t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot ๐ŸŒด

An in-range update of husky is breaking the build ๐Ÿšจ

The devDependency husky was updated from 1.1.3 to 1.1.4.

๐Ÿšจ View failing branch.

This version is covered by your current version range and after updating it in your project the build failed.

husky is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.

Status Details
  • โŒ continuous-integration/travis-ci/push: The Travis CI build failed (Details).

Commits

The new version differs by 9 commits.

See the full diff

FAQ and help

There is a collection of frequently asked questions. If those donโ€™t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot ๐ŸŒด

No reducer provided for key "modal"

Unable to build project after update to v2.
From browser js console: No reducer provided for key "modal". It is related to bug

// This is not working
import { reducer as modal } from 'redux-modal';

// This works fine
import reduxModal from 'redux-modal';
const modal = reduxModal.reducer;

This bekause module exports default, which contains other fields - it is wrong, I think. You can use doc link:

export * from ...

An in-range update of @types/react is breaking the build ๐Ÿšจ

Version 16.0.17 of @types/react was just published.

Branch Build failing ๐Ÿšจ
Dependency @types/react
Current Version 16.0.16
Type devDependency

This version is covered by your current version range and after updating it in your project the build failed.

@types/react is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.

Status Details
  • โŒ continuous-integration/travis-ci/push The Travis CI build failed Details

FAQ and help

There is a collection of frequently asked questions. If those donโ€™t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot ๐ŸŒด

Version 10 of node.js has been released

Version 10 of Node.js (code name Dubnium) has been released! ๐ŸŽŠ

To see what happens to your code in Node.js 10, Greenkeeper has created a branch with the following changes:

  • Added the new Node.js version to your .travis.yml

If youโ€™re interested in upgrading this repo to Node.js 10, you can open a PR with these changes. Please note that this issue is just intended as a friendly reminder and the PR as a possible starting point for getting your code running on Node.js 10.

More information on this issue

Greenkeeper has checked the engines key in any package.json file, the .nvmrc file, and the .travis.yml file, if present.

  • engines was only updated if it defined a single version, not a range.
  • .nvmrc was updated to Node.js 10
  • .travis.yml was only changed if there was a root-level node_js that didnโ€™t already include Node.js 10, such as node or lts/*. In this case, the new version was appended to the list. We didnโ€™t touch job or matrix configurations because these tend to be quite specific and complex, and itโ€™s difficult to infer what the intentions were.

For many simpler .travis.yml configurations, this PR should suffice as-is, but depending on what youโ€™re doing it may require additional work or may not be applicable at all. Weโ€™re also aware that you may have good reasons to not update to Node.js 10, which is why this was sent as an issue and not a pull request. Feel free to delete it without comment, Iโ€™m a humble robot and wonโ€™t feel rejected ๐Ÿค–


FAQ and help

There is a collection of frequently asked questions. If those donโ€™t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot ๐ŸŒด

An in-range update of lint-staged is breaking the build ๐Ÿšจ

Version 7.2.1 of lint-staged was just published.

Branch Build failing ๐Ÿšจ
Dependency lint-staged
Current Version 7.2.0
Type devDependency

This version is covered by your current version range and after updating it in your project the build failed.

lint-staged is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.

Status Details
  • โŒ continuous-integration/travis-ci/push: The Travis CI build could not complete due to an error (Details).

Release Notes v7.2.1

7.2.1 (2018-08-12)

Bug Fixes

  • Disable recursive checks for jest-validate (#483) (c350a0e)
Commits

The new version differs by 3 commits.

  • c350a0e fix: Disable recursive checks for jest-validate (#483)
  • 634344a docs: Readme edits for spelling and grammar (#480)
  • d52e074 docs: Update documentation for advanced options (#472)

See the full diff

FAQ and help

There is a collection of frequently asked questions. If those donโ€™t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot ๐ŸŒด

An in-range update of @types/jest is breaking the build ๐Ÿšจ

The devDependency @types/jest was updated from 23.3.5 to 23.3.6.

๐Ÿšจ View failing branch.

This version is covered by your current version range and after updating it in your project the build failed.

@types/jest is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.

Status Details
  • โŒ continuous-integration/travis-ci/push: The Travis CI build could not complete due to an error (Details).

FAQ and help

There is a collection of frequently asked questions. If those donโ€™t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot ๐ŸŒด

An in-range update of @types/react-redux is breaking the build ๐Ÿšจ

The devDependency @types/react-redux was updated from 6.0.10 to 6.0.11.

๐Ÿšจ View failing branch.

This version is covered by your current version range and after updating it in your project the build failed.

@types/react-redux is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.

Status Details
  • โŒ continuous-integration/travis-ci/push: The Travis CI build failed (Details).

FAQ and help

There is a collection of frequently asked questions. If those donโ€™t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot ๐ŸŒด

Need to add delay before modal removed

I can't use animations because modals unmount immediately by handleHide and I can't use destroyOnHide: false because I'll not have componentDidMount calls to fetch some data.

My workaround:

destroyModalAfterHideWithDelay = () => {
    const delayed = () => _.delay(this.props.destroy, 300, modalName);
    this.props.handleHide()
    delayed()
}

Suggestion:

if (!modal.show) {
    return destroyOnHide ? _.delay(this.props.destroy, this.props.delay, name) : this.hide()
}

I'm not sure about naming delay, maybe delayOnHide

An in-range update of enzyme is breaking the build ๐Ÿšจ

Version 3.4.1 of the enzyme packages was just published.

Branch Build failing ๐Ÿšจ
Monorepo release group enzyme
Current Version 3.4.0
Type devDependency

This version is covered by your current version range and after updating it in your project the build failed.

This monorepo update includes releases of one or more dependencies which all belong to the enzyme group definition.

enzyme is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.

Status Details
  • โŒ continuous-integration/travis-ci/push: The Travis CI build could not complete due to an error (Details).

FAQ and help

There is a collection of frequently asked questions. If those donโ€™t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot ๐ŸŒด

An in-range update of release-it is breaking the build ๐Ÿšจ

The devDependency release-it was updated from 8.3.0 to 8.3.1.

๐Ÿšจ View failing branch.

This version is covered by your current version range and after updating it in your project the build failed.

release-it is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.

Status Details
  • โŒ continuous-integration/travis-ci/push: The Travis CI build failed (Details).

Release Notes for Release 8.3.1
  • Update dependencies (c416c3e)
  • Remove unused argument (70f9d5c)
  • Improve some error messages (153aaf8)
  • Fix git tag warning (1afdf8f)
  • Fix up specs a bit (f797d45)
  • Use null values (over false) as defaults (ae211d1)
Commits

The new version differs by 7 commits.

See the full diff

FAQ and help

There is a collection of frequently asked questions. If those donโ€™t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot ๐ŸŒด

Component not rendering

I'm copying from the Readme with a simple usage:

import React from 'react';

class MyModal extends React.Component {
  render() {
    return(
      //...
    )
  }
}

export default connectModal({ name: 'myModal' })(MyModal);

But the component does not show up. The render() method of MyModal never gets called.

I'm able to successfully render the component by just changing the export line:

export default MyModal;

I'm using:

React v15 support

Not sure if there are any issues with upgrading but it would be nice to not get an npm warning when installing.

DESTROY doesn't clean up state completely

Destroying a modal causes the key of the modal to be undefined in state. While iterating over the entries of that state with Object.entries, you have to explicitely filter for undefined values.

That is uncomfortable and erroneous, as you have to do it every time you have to iterate.

Is there a reason to keep the keys in state without a reference to a modal, instead of deleting the key completely with "delete"?

An in-range update of ts-jest is breaking the build ๐Ÿšจ

Version 23.1.1 of ts-jest was just published.

Branch Build failing ๐Ÿšจ
Dependency ts-jest
Current Version 23.1.0
Type devDependency

This version is covered by your current version range and after updating it in your project the build failed.

ts-jest is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.

Status Details
  • โŒ continuous-integration/travis-ci/push: The Travis CI build could not complete due to an error (Details).

Commits

The new version differs by 9 commits.

  • 125d06b Merge pull request #652 from huafu/hotfix/babel-and-preprocess-bridges
  • 3068e73 fix snapshot
  • ff260d6 bump version patch to 23.1.1
  • 5368bb4 typo
  • 8a6a8f7 fix: test rootDir to handle preset-angular
  • 98b2410 fix: gracefully load @babel/core or babel-core
  • a65079f fix: allow (but deprecate) use of old preprocessor.js
  • b895cb4 chore: adds engine section, we support node >= 6
  • f17f952 chore: removes package-lock, we use yarn

See the full diff

FAQ and help

There is a collection of frequently asked questions. If those donโ€™t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot ๐ŸŒด

An in-range update of @types/react-redux is breaking the build ๐Ÿšจ

Version 6.0.4 of @types/react-redux was just published.

Branch Build failing ๐Ÿšจ
Dependency @types/react-redux
Current Version 6.0.3
Type devDependency

This version is covered by your current version range and after updating it in your project the build failed.

@types/react-redux is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.

Status Details
  • โŒ continuous-integration/travis-ci/push The Travis CI build could not complete due to an error Details

FAQ and help

There is a collection of frequently asked questions. If those donโ€™t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot ๐ŸŒด

Call dispatch inside instance of redux-modal

Would it be possible to call dispatch inside the redux-modal? I have another actions that should be called inside the modal for example is on click submit of the button?

I've been looking for ways if we could add actions or bindActionCreators as params in export default connectModal({ name: 'mymodal' })(MyModal) and not passing it as a props.

Thanks.

An in-range update of @types/jest is breaking the build ๐Ÿšจ

Version 23.1.3 of @types/jest was just published.

Branch Build failing ๐Ÿšจ
Dependency @types/jest
Current Version 23.1.2
Type devDependency

This version is covered by your current version range and after updating it in your project the build failed.

@types/jest is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.

Status Details
  • โŒ continuous-integration/travis-ci/push The Travis CI build could not complete due to an error Details

FAQ and help

There is a collection of frequently asked questions. If those donโ€™t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot ๐ŸŒด

An in-range update of hoist-non-react-statics is breaking the build ๐Ÿšจ

Version 3.0.1 of hoist-non-react-statics was just published.

Branch Build failing ๐Ÿšจ
Dependency hoist-non-react-statics
Current Version 3.0.0
Type dependency

This version is covered by your current version range and after updating it in your project the build failed.

hoist-non-react-statics is a direct dependency of this project, and it is very likely causing it to break. If other packages depend on yours, this update is probably also breaking those in turn.

Status Details
  • โŒ continuous-integration/travis-ci/push: The Travis CI build failed (Details).

Commits

The new version differs by 4 commits.

See the full diff

FAQ and help

There is a collection of frequently asked questions. If those donโ€™t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot ๐ŸŒด

An in-range update of ts-jest is breaking the build ๐Ÿšจ

Version 23.1.0 of ts-jest was just published.

Branch Build failing ๐Ÿšจ
Dependency ts-jest
Current Version 23.0.1
Type devDependency

This version is covered by your current version range and after updating it in your project the build failed.

ts-jest is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.

Status Details
  • โŒ continuous-integration/travis-ci/push: The Travis CI build failed (Details).

Commits

The new version differs by 39 commits.

  • 6916e7b Merge pull request #650 from kulshekhar/kulshekhar-patch-1
  • 54a30eb Bump the version (minor)
  • 9e61969 Merge pull request #626 from huafu/feature/upgrade-babel-and-fix-tsconfig
  • ef21f50 Merge branch 'master' into feature/upgrade-babel-and-fix-tsconfig
  • c67ba4d Merge pull request #649 from kulshekhar/greenkeeper/monorepo.react-16.4.2
  • 9a6904f Merge branch 'master' of https://github.com/kulshekhar/ts-jest into feature/upgrade-babel-and-fix-tsconfig
  • 8a94008 chore(package): update react-test-renderer to version 16.4.2
  • 6e73fb9 chore(package): update react to version 16.4.2
  • c947791 chore(package): update @types/node to version 10.5.5 (#646)
  • fd24ae6 Merge pull request #640 from jmheik/to-dev-deps
  • e2028da Merge branch 'master' into to-dev-deps
  • 4396dde Merge pull request #641 from jeznag/patch-1
  • 7d78123 Merge branch 'master' into patch-1
  • b38e4ca Add TypeScript ^3.0.0 as supported peer dependencies (#644)
  • 1e287f3 Add more details on using module name mapper

There are 39 commits in total.

See the full diff

FAQ and help

There is a collection of frequently asked questions. If those donโ€™t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot ๐ŸŒด

An in-range update of @types/react is breaking the build ๐Ÿšจ

Version 16.4.3 of @types/react was just published.

Branch Build failing ๐Ÿšจ
Dependency @types/react
Current Version 16.4.2
Type devDependency

This version is covered by your current version range and after updating it in your project the build failed.

@types/react is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.

Status Details
  • โŒ continuous-integration/travis-ci/push The Travis CI build failed Details

FAQ and help

There is a collection of frequently asked questions. If those donโ€™t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot ๐ŸŒด

An in-range update of enzyme is breaking the build ๐Ÿšจ

There have been updates to the enzyme monorepo:

    • The devDependency enzyme was updated from 3.7.0 to 3.8.0.

๐Ÿšจ View failing branch.

This version is covered by your current version range and after updating it in your project the build failed.

This monorepo update includes releases of one or more dependencies which all belong to the enzyme group definition.

enzyme is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.

Status Details
  • โŒ continuous-integration/travis-ci/push: The Travis CI build failed (Details).

FAQ and help

There is a collection of frequently asked questions. If those donโ€™t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot ๐ŸŒด

Reducer return immutable object

The reducer turns props provided to dispatch(show('modal-name', props)) into immutable properties. This is a problem when doing for example .map on an Array property.

As a quick fix I added .asMutable() when returning the new state after reducing. Could something alike be a final fix?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.