Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exported "connect" (from "react-redux") HOC #344

Merged
merged 1 commit into from
Dec 17, 2018

Conversation

adrians5j
Copy link
Member

@adrians5j adrians5j commented Dec 17, 2018

Instead of old
import { connect } from "react-redux";

now we import it like so:
import { connect } from "webiny-app-cms/editor/redux";

This will ensure the correct connect is always used by developers (eg. while developing an integration that is used via CMS editor).

@adrians5j adrians5j self-assigned this Dec 17, 2018
@adrians5j adrians5j merged commit c48ce71 into development Dec 17, 2018
@adrians5j adrians5j deleted the cms/export-redux-connect branch December 17, 2018 16:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant