Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Generate SimpleEventPlugin data structures at runtime (facebook#7616)
We used to copy and paste the same big blob many times in order for it to work with keyOf which is no longer a constraint. This pull request takes a list of all the events as string and generate those data structures at runtime. It reduces the size of React by 1k post gzip and flow is able to extract the structure out of it :)
- Loading branch information