News for hackers. Stuff that matters.

mtschopp

Re:Tell HN: AWS appears to be down again on Wednesday December 15, 2021 @10:52AM (#29567663)
Could it be related to a Log4j issue?
Re:NPM Is Down on Wednesday December 15, 2021 @10:45AM (#29567538)
CircleCI has problems downloading npm packages either
It's because jQuery is a library on top of JavaScript. That makes it slower than native JavaScript.

If you don't need to support very old browsers you can easy go without jQuery.

Have a look at http://youmightnotneedjquery.com

Re:ReactJS for Stupid People (2014) on Sunday August 16, 2015 @02:59PM (#10069868)
A bit of both. With React we now have a much nicer code structure, because it forces us to think in components. We have a JS file and an SCSS file for each component. Before we rendered the view on the server side with Python/Jinja2.

I think there are many reasons for the productivity boost. Thinking in components, more readable code, great debugging possibilities, understandable data flow, to name a few.

And, last but not least, it is lots of fun :-).

Re:ReactJS for Stupid People (2014) on Sunday August 16, 2015 @01:36PM (#10069588)
You cannot really compare a React project with a non-React project if it is done by different people.

We use React since four months, and we develop faster compared to before, when we used only jQuery.

Re:ReactJS for Stupid People (2014) on Sunday August 16, 2015 @10:49AM (#10069021)
That's right, Flux is not that easy to understand. We use Reflux for the sake of it's simplicity. Here is a good comparison of Flux and Reflux: https://www.amberbit.com/blog/2015/7/14/flux_vs_reflux/
Re:ReactJS for Stupid People (2014) on Sunday August 16, 2015 @08:55AM (#10068776)
Why is React only for the enthusiasts? Big corps like Netflix and Atlassian use it in production.
Nice to see some effort in this area. How is it compatible with the flux architecure?
Nice idea. Would be cool if an element's background-color changes for a second whenever it has been rerendered.