Skip to content
This repository was archived by the owner on Aug 27, 2018. It is now read-only.

Refactor events to be interface-based #53

Merged
merged 1 commit into from
Apr 23, 2017
Merged

Refactor events to be interface-based #53

merged 1 commit into from
Apr 23, 2017

Conversation

myitcv
Copy link
Owner

@myitcv myitcv commented Apr 21, 2017

This moves away from the anti-pattern of having func type fields in props (or state for that matter). This is already "enforced" in reactGen (by virtue of the user having to define an equals method if their props/state struct type value is not comparable); so this change is essentially closing a loophole that was being exploited by the core React components

@myitcv myitcv changed the title Refactor events to be interface-based [WIP] Refactor events to be interface-based Apr 21, 2017
@myitcv myitcv force-pushed the events branch 2 times, most recently from 4d1273c to 355166b Compare April 22, 2017 10:18
@myitcv myitcv changed the title [WIP] Refactor events to be interface-based Refactor events to be interface-based Apr 22, 2017
@myitcv myitcv merged commit b309b0f into master Apr 23, 2017
@myitcv myitcv deleted the events branch April 23, 2017 12:19
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant