News for hackers. Stuff that matters.
Re:Slack using React Dev Build in Production by conradk on Tuesday August 01, 2017 @09:56AM (#14900604)
How is this absurd? I've had problems debugging minified Javascript in production too. So from my point of view, this seems like an appropriate response.
Re:Slack using React Dev Build in Production by morley on Tuesday August 01, 2017 @10:05AM (#14900705)
There are ways to debug minified JS in production, sourcemaps being one of them.

In addition to the speed difference, there's a significant payload size difference: something like 1.5+MB for the dev build, vs 70kb for the production build, last time I checked.

Re:Slack using React Dev Build in Production by conradk on Tuesday August 01, 2017 @05:08PM (#14905335)
Sourcemaps have the drawback that you actually need to generate them first. Sometimes, getting all of the tooling together is teedious.

And about the size: if the JS file is cached properly, downloading 1.5mb once doesn't seem like a huge issue, especially for something like Slack where only desktops use the web client (most mobiles probably download the Slack app). I don't know if this was the case here though.