Yes it did. Quick explanation.
As said in my previous post, i was working on the second version of the app, mostly with Angular and i was growing impatient of not making consistent progress. Frustrated would be the word actually.
So i decided on a few changes that in my opinion now did have a very good impact.
1. Do it modern
I switched job. I am now, since march this year, working at Vtex in Rio working on an eCommerce platform. Hit the website for more. And since then, i’ve been working almost exclusively with React. See where i’m going right?
When you get started with SPA on Angular (1.X in my case) and move onto React, you start to wonder what you were doing before. True, those two guys are different, Framework vs Library. But oh boy. It’s so much faster to get up and going with React and after a while it just feels super natural.
2. Do it bad
Then, probably the most important move, i got motivated by my coworker Guilherme (he’s not aware, do not tell him) to “First do it”. Long story short:
First do it. Then do it right. Then do it better.
More details in his post about it.
I basically took my idea of the app, the way i’d be using it at first and ripped off tons of things. Non alpha-features.
No more user registration, login with encrypted password. I’ll be managing the admin part of the app by myself and with the help of a friend. Result: a tiny login by name input. Only. Case sensitive (sic!). And it does not matter at all, because it’s just about betting with friends. No need to store data, email, addresses…
Bam, move on the next unnecessary feature. Forget about style. That’s right, i set up the alpha version without a single line of css. Barebone html. Large jsx components, you got it, ugly. True. But during the time it’d take to prettify everything, i move on.
I won’t talk much about all of them but you get the main idea (especially if you’ve read Guilherme’s post by now).
3. Do it early
6am. What? Yes. I got tired of trying to work at night and not getting enough time to do such. Going out of work late, hitting the gym, having a beer with some friends… All those do not combine with a side project. At least not in the evening. That is why i am gradually moving on to wake up early. Still a work in progress though, you do not change a routine of getting up at 7:30 / 8am to 6am straight away. I still struggle some days, but it’s already paying off.
Since i wake up early, i have several hours of really free time when i can dedicate myself to the project or studying. My head is clear in the morning, not tired of a whole day behind the screen. The place is quiet. All good. Plus, you get the extra feeling of being productive, of doing more in a day.
This post on Medium got me into making the switch.
I now have an alpha version of the app, with super basic features. Bare minimum. But it works, and i’m moving on to add extra one bit at a time. Fixing this massive setState in the middle, adding request’s results onto the screen, a bit of ui, adding a manifest.json, etc.