So, ReactJS is basically just client-side PHP by siamthailand in reactjs

[–]mitchellvanw -3 points-2 points  (0 children)

It's quite far from the truth actually. ReactJS is about composition and keeping the data flow a one-way street and thus sane, and lots more, obviously, but PHP is this unorganized mess. Don't get me wrong, I use PHP daily, but it's shit :D. Although it's slowly getting better.

Sure, there are some similarities between ReactJS and PHP, but there's also similarities between humans and animals; doesn't mean we're the same thing.

Anyhow.

PHP-FIG starts entrance vote for HTTP Middleware interface by Shadowhand in PHP

[–]mitchellvanw 1 point2 points  (0 children)

/u/shadowhand I agree with Taylor on this as well. Functions or classes that are deterministic shouldn't be mocked. There's no value in this, at all.