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
Summarize a concept that is new to you.
Top comments (11)
Another great week of learning and discoveries. :D I learned about the basics of webpack, how to make it use loaders, and find the files to use those loaders by using a test regex and include path. I had to use it for storybook to understand scss modules. At the next.js conference, the new features like placeholder="blur" and using it in conjunction with a dataUrl. Also the live editing & collaboration seems pretty awesome. Also using getStaticPath and getStaticProp, now I can start using it for the e-commerce site project once I pick out a headless CMS. I read about clean architecture:
blog.cleancoder.com/uncle-bob/2012...
In summary, it is about what de-coupling enterprise and business rules from the implementation details which the implementation could be using a framework like React. Sometimes tools can create "certain standards" of how we should architect our app and that is something we should be careful of.
For CSS, there is this awesome pseudo-selector called ::selection. This is great for changing the highlighting of text in a page. Also every-layout.dev/ talks about how we should use composition to create layouts, it uses the idea of having layout primitives (our building blocks) to create organized and DRY CSS. Last but not least, concreting my understand of generics and utility types in typescript and the usage of keyof property. I'm watching this series called "No BS TS" on youtube which is so awesome! I recommend checking it out. By next week, I plan to get Stripe and a headless CMS connected to my e-commerce app.
That's awesome! 🔥
A bit late, but I spent a bit of time getting more familiar with the javascript languages properties. Reviewing the behaviour of 'this' and scope, and also made the wonderful discovery of syntactic sugar for nested functions, and by extension, partial functions.
Had not seen the latter syntax before yesterday.
I learned how row major traversals are faster than column major traversals because of how the memory is fetched and read. For those who are curious, here's the talk : youtube.com/watch?v=WDIkqP4JbkE
Working with:
Demo link
Got to try out OpenBSD and set up httpd server
Nice!
Needed to do some queries in metabase, only to find out I was lacking in my SQL knowledge.
Had to take a short postgreSQL course.
Now I can query like a pro😎
Noice!
It was a really productive week.
git rebase
columns
Nice!