Video games have recently became very popular, and even mainstream.
Once a domain of nerds mostly, people proudly introduce themselves as “gamers” nowadays.
Everyone seems to want to be a part of the industry — between major companies sponsor the best of gamers or competitions and influencers showing off their skills on stream, gaming is being celebrated.
Tournaments of various competitive games (“eSports”) offer some of the largest prize pools ever seen ($33 million for Dota 2’s “The International 9” or $30.4 million for Fortnite’s “World Cup Finals”).
One might wonder what exactly is the catalyst behind such a massive…
Source Control systems play a key role in software development processes, but not only — from content writers to designers, people use it to manage versions of their projects.
Part 1 covered reasoning behind Source Control systems, and went over the foundations of working with Git, a commonly used Source Control system.
In this part I will cover more advanced, yet crucial, functionality of Git — working with remote repositories, branches, and problems that might occur when simultaneous work is done — and how to solve them.
In order to enable collaboration, the project must be available somewhere for your…
Two colleagues of mine, data scientists, asked me to come over for a moment. They were focused and had desperation in their eyes. I asked what I could do for them, and I was told ‘we get this weird error when we try to
git pull --rebase’.
After helping them with their issue, we discussed a few things about Git.
At some point I commented ‘but that’s probably boring for you data scientists’, to which one of them replied ‘I would still like to know what I’m doing’.
And then it hit me. I took it for granted that everyone…
As you probably already know, React’s Context API just finally became official in version 16.3. Up until now It has been an experimental API and was generally considered an ‘advanced’ feature, as “Most applications will never need to use context”.
Now with the new API finally out and all the hype around it, I felt it encourages use that might be forced and not necessary.
I remembered the tweet about Context by Dan Abramov and I feel it should be used as the base for this discussion:
After I noticed the comments to a recent tweet by Eric Elliott about a pretty clever way to use a debugger inside your JSX, I realised this was not common knowledge. Such simple tricks should be more widely known, so I decided to come up with this list of 5 useful React tips that could improve your code development experience.
I believe everybody who developed in React for a while found himself trying to make sure his component receives the correct props to render with.
Sure, you can always log the props, but this has a few disadvantages:
Components are the building blocks of modern front-end development. They let you split the UI into independent, reusable pieces, and think about each piece in isolation, and there are various approaches and concerns when it comes to their implementation.
A component can be described as a function that takes information provided externally (also known as ‘props’), along with their own self-maintained information (also known as ‘state’), and generates a UI element (such as buttons, images or date pickers).
Composition is a process where you create a more complex component using other, more basic components. The approach you choose when implementing…