Jovica Aleksic
                                            Jovica Aleksic
                                        
                                    Interesting, thanks! And of course, a good moment to recall the effects of poly/monomorphism on optimization.
Well, in a mutable world, you can also do `x.name = x.name.trim()` without creating a new var, but that could create horrible side effects and I wouldn't recommend such practice...
Yes exactly! Which was my initial point - back in flash games, it was noticable in fps drops when GC occasionally kicked in and cleaned up a couple hundred thousand...
Hmm not sure - never did devtools development. So you don't have a window object in there? Btw of course this isn't a serious Problem - i thought it's as...
Hi guys. My use case is this: When I create a new component and I want to actually release it standalone, I still need an app as a testbed/dev environment....
@themre You could improve that by using compile-time conditional switches. Then webpack won't bundle all possibilities. E.g: ``` importApp() { switch (process.env.MY_CONDITION) { case 'App1': return import('./App1'); case 'App2': return...
@rmoorman Yes absolutely, that works too. Just receive the config, modify it and return it again. In that case, `webpack-merge` doesn't even have to be known to `create-react-app` - we...
That seems like a totally valid solution, not just a workaround. One could have a file `entry.js` and use `REACT_APP_ENTRY` in the switch-case there.
@theoephraim could you please clarify with a short answer? Is this library meant to be used in Node only?
I ended up with a custom implementation around the original google API, and I'm quite happy with it. It's not as terrible as people say. In my case it's a...