It's that time of the week again. So wonderful devs, what did you learn this week? It could be programming tips, career advice etc.
Feel free to comment with what you learnt and/or reference your TIL post to give it some more exposure.
#todayilearned
And remember, if something you learnt was a big win for you, then you know where to drop it as well.๐๐๐ป๐๐ผ๐๐ฝ๐๐พ๐๐ฟ
Top comments (44)
I had a semi-productive week:
yield
in PHP, and found a genuine use case for it (not a contrived example used in documentation).Finding that first use of a new concept is an amazing feeling.
I learned the ins and outs of optimizing the build of a massive React / Emotion UI component library. Build time went from 45 minutes to 90 seconds and now every component is properly bundled for distribution. ๐
Learned how to replicate basic functionality of ngFor / ng-repeat in Angular for Web Components in less than 200 lines of code.
That is a super impressive speed gain! Dare I say post worthy.
Using Next.js for the first time, diving into SSR vs static generated content.
That's awesome! ๐ฅ
Oooh how is the ssr side of next? Ive use gatsby quite a bit and touched next for static once.
I learned more about open source and how to contribute to it
Hacktoberfest baby! Did you make any contributions or just learning?
Yes I did, it was my first and was able to submit 5 PRs
Dang! That is a hacktoberfest success story.
I played with bubbletea a go library for dynamic terminal apps inspired by elm's architecture.
github.com/trashhalo/imgcat
I am loving all of the amazing terminal apps from rust and go! Is bubbletea a common one or just one you are trying.
I like that I can make great clis in python very quick, but the TUI sorry seems to be a larger investment.
Awesome!
Learned how to use setState in React to change the look of a button onClick.
The killer feature of react
Love the banner image!
I used a React hook for the first time today and wow, so much easier to manage state with
useState
.I remember the first time I used react I felt about half done with the feature and was like, wait a minute everything just works! Where did the other half of the code go?
That's a great way to describe the feeling.
I'm sure I am overcoming some elements but geez it's fun and helpful once you get past the learning curve.
I ejected from Expo and guess what i am enjoying the new environment. I thought is was gonna be hell but everything is going well.
I also learned how to convert Laravel apps into desktop apps for both Windows and Mac OS platforms.
I am grateful :)
Nice!
I learned how to convert HTML sites to WordPress and I enjoyed it ๐คช๐
Nice!
Interesting shift, what would be an application of moving an existing static site to php?
not any issues :)
Optimizing my dotfiles. Becos git bash on win are slow. Removing file here, file there. Reducing some sourcing here, sourcing there. I just realize that I need another solution to manage my dotfiles.
PING me next week please so I can write my progress again about my dotfiles.