Kevin Mårtensson
Kevin Mårtensson
Since `onSelect` returns the current item, why don't you do this: ```js const items = [{label: 'Unicorn', value: 'unicorn', action: () => {}}]; const handleSelect = item => { item.action();...
We could export a `Symbol` and accept that in items and match against it when rendering. Don't know if it works if we accept a component directly, seems like `componentWillReceiveProps`...
I just get 404 when trying to run this atm. Maybe GitHub has changed something?
Yeah, I have tests ready, but it seems like something in the API is broken.
I'm pretty sure that neither @sindresorhus or me are going to move our repos over here.
Why should we create duplicate modules? If they aren't answering it's fine. We don't need to cover everything.
> Not sure which suffix on the module name makes more sense `regex` is nicer imo.
Regarding module patterns, just use keep using CommonJS or provide a `browser.js` file generated with browserify.
@vvo, I don't have an example, but I encountered a somewhat similar issue recently. In fact, if you update the session in the middleware and try to read it in...
@vvo, will submit a PR tomorrow.