reactjs / core-notes

Weekly meeting notes from the React core team
900 stars 47 forks source link

Add notes for July, 7 #23

Closed gaearon closed 8 years ago

gaearon commented 8 years ago

Please discuss in this PR!

taylorlapeyre commented 8 years ago

Just curious, is Rollup an alternative to Webpack, or do you use it as some kind of loading step in Webpack?

keyz commented 8 years ago

@taylorlapeyre For us, we're investigating using Rollup to replace our Browserify build step.

developit commented 8 years ago

@taylorlapeyre Rollup is extremely good at bundling code. It basically attempts to create a single flattened IIFE with all of the variables and functions from all modules in the same namespace by renaming conflicts. Webpack 2 aims to create similarly optimized bundles, but for now Rollup is the best bet.

Bobris commented 8 years ago

It is not true that React is "only" one normalizing events. Bobril does same and goes much further from HTML events, for example it normalizes touch across Chrome, IE10, IE11. It emulates pointerEvents: none, or userSelect: none.