Ian Hatcher-Williams

Results 5 comments of Ian Hatcher-Williams

What about [memoizing](https://addyosmani.com/blog/faster-javascript-memoization/) each of the checks? I realize you only want to compute the check once, but as the list grows, so does the computation happening on load. Then...

@aaalsaleh interesting, I kind of like that solution. The way you're doing if/else is creating a lot of duplication. What about a loop? ``` js // code to detect whether...

Interesting point @ShirtlessKirk, though IE8 doesn't support getter/setter, so I don't think it would matter. I guess we could check for both, though now we're adding a lot of extra...

@developit that suggestion works to fix that error, but then causes `create-react-class` alias to fail. ``` ERROR in ./src/components/Portal.jsx Module not found: Error: Can't resolve 'create-react-class' in '/Users/ianwilliams/dev/tapwater/frontend/src/components' @ ./src/components/Portal.jsx...

+1 need the package.json