@kayandrae
Java is to JavaScript what Car is to Carpet.
A web developer and writer. Loves to code with PHP and Javascript but sometimes cheat on them with Python and Ruby. Writes articles for scotch.io. Also loves to read, play scrabble (a lot) and freeletics.
Freelance development, programming advice, knowledge exchange.
No blogs yet.
I have 2 servers whenever i'm developing. Stagin and production. I use Buddy . Whenever I push commit(s): Commits are pushed to buddy's git server (I use a development branch). Once buddy receives the commit(s), it is then pushed to my private gitlab server. From there, the files are automatically copied to staging where I can do tests etc. After a lot of testing, I merge development with master and tag the release obeying semver If all is well and good, I manually push changes to production. Once, I do that, Capistrano handles versioning on server so that I can easily rollback changes yada yada. This is basically what I use. Scaling, that's another beast.
@juanita_b_sutton I am one of those people who believe that style shouldn't be a dependency. I use SCSS, so I believe that I have separated my code in the best possible way. When it comes to react components, I believe styling should be separated.
Personally, I don't believe in "an editor for different languages". An editor should be extendable for added functionality. For react I use PHPStorm. Before that, I was using sublime text. So for react development, if you are using anyone of these editors, you are good to go. You probably need to install a plugin. Sublime text Atom WebStorm or PHPStorm (any Jetbrains product). These were at the top of my head.
You could, but you will have to wait for the component to mount first before attaching the event. But, just because you can don't mean you should. React handles events by delegating the events only when it's needed. Attaching events the addEventListener way can easily slow down the DOM especially if it's done a lot of time. But that aside you can, but do it sparingly.
The only time I will suggest you use Node.js over python is when it involves a real-time application. This is due to the fact that node can handle real-time concurrency better than python. But apart from that, it's all personal preference.
First of all, there is nothing Flash can do that can't be done with HTML5. If you are still waiting for that day to come, that day is today. Those games you talked about, it is just that the developers are too lazy to convert it to HTML5.