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

Add SilverStripeComponent base class #4

Merged
merged 1 commit into from Nov 5, 2015
Merged

Conversation

flashbackzoo
Copy link

@chillu this is the event based interfacing we talked about today. It's still a bit coupled in terms of both sides (React component and legacy script) need to know about the namespace and event names...

Thoughts?

}

componentDidUpdate() {
this._emitCmsEvent('updateCmsHeading', { heading: this.state.headingName });
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

my-component.title-changed

@flashbackzoo
Copy link
Author

@chillu updated based on your feedback 😄

@flashbackzoo
Copy link
Author

@chillu I've updated the docs with the Entwine override stuff and squashed the commits. Ready for review and (hopefully) merge.

scott1702 added a commit that referenced this pull request Nov 5, 2015
@scott1702 scott1702 merged commit aa16f2d into master Nov 5, 2015
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.

None yet

4 participants