DEV Community

Cover image for May 5th, 2022: What did you learn this week?
Nick Taylor
Nick Taylor

Posted on

May 5th, 2022: What did you learn this week?

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.

Obi-Wan saying "Hello there!"

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.

Latest comments (42)

Collapse
 
marklai1998 profile image
Mark Lai

I learnt Axios is using the old XMLHttpRequests as its backend, no wonder it has so many bugs recently.
Then I did some research on fetch api based api client, SuperAgent seems to be the best choice

Collapse
 
nickytonline profile image
Nick Taylor

Kylo Ren on Undercover Boss giving a thumbs up

Collapse
 
ansino profile image
José Ramos

I learned Unit Test with .Net Core 6 and the importance to try to not leave technical debt in your projects.

Collapse
 
nickytonline profile image
Nick Taylor

Loki holding KFC

Collapse
 
imthedeveloper profile image
ImTheDeveloper

E-commerce is hard.

Optimising pages for web vitals.

Getting UX right for customers to not feel lost or overwhelmed.

Competing with the large market places is tough.

But....

It's all great fun

Collapse
 
nickytonline profile image
Nick Taylor

Actress Anna Kendrick in a film saluting as her character

Collapse
 
svasylenko profile image
Serhii Vasylenko • Edited

I had an exciting deep dive into the upcoming Terraform v1.2 release features! And wrote a blog about that 🤩

Collapse
 
nickytonline profile image
Nick Taylor

Dog from GoT with friend chicken

Collapse
 
jonaspetri profile image
Jonas Petri

I got a book about object-oriented programming, so I'm learning that right now! I'm already familiar with JSON, so that makes it a lot easier!

Collapse
 
nickytonline profile image
Nick Taylor

Jean-Luc Picard from Star Trek TNG saying Well done!

Collapse
 
michaeltharrington profile image
Michael Tharrington

I have not!! But woooahhh, this looks right up my alley indeed. Might even get me to learn a bit of code. 😅

I see that we got a few folks on DEV who've written on it as well.

Wow, I'm seriously going to look into this some more. Thanks a bunch for sharing!

Collapse
 
tolgadevsec profile image
Tolga Ünlü

This week I learned that you can measure the use of "curl | bash" from the server-side :)

Collapse
 
nickytonline profile image
Nick Taylor

Chow Yun-fat giving a thumbs up

Collapse
 
afullsnack profile image
afullsnack • Edited

Learned and still learning Integration and unit tests with cypress, coming from jest and mocha it is pretty easy to get up and running with.
Especially love the fact that it comes bundled with native browser support and can still be run in headless mode for CI/CD with is important to me for my web dev projects

sourceking image
Collapse
 
nickytonline profile image
Nick Taylor

Robert Redford nodding in a forest

Collapse
 
adam_cyclones profile image
Adam Crockett 🌀

I re learned that html IDs can just be typed into the console just like the $0 trick for quick play

Collapse
 
Sloan, the sloth mascot
Comment deleted
Collapse
 
brojor profile image
brojor

really

Collapse
 
apayrus profile image
Rustam Apay

I am migrating from NextJS 10 to 12 and Material-UI 4 to MUI 5, and have some problems ))

Collapse
 
nickytonline profile image
Nick Taylor

There's a pretty decent upgrade guide for Next. I imagine you looked at that? Any issues with MUI, or is really the upgrade to Next 12 blocking that?

Collapse
 
apayrus profile image
Rustam Apay

I upgraded. My problems are:
1) I didn't learn emotion yet. my JSS after codemod looks scary.
2) on the first loading of the app, icons look gigantic, then became small. I solved this issue with MUI 4, but now I didn't find solution yet

Collapse
 
anishde12020 profile image
Anish De

Discovered how cool Astro is, worked with Directus, learned image optimization with LQIP Modern and wrote a blog post on how to do it with Next.js. Also learned how to use MDX Bundler (extremely easy) and some Rehype plugins like auto links (from headings).

Also learned how to make API requests from Go with Resty and some Rust (and more Go stuff, making something :) )

Collapse
 
nickytonline profile image
Nick Taylor

Noice!

Noice!

Collapse
 
voodoocode profile image
ɥɔɐ⅂ ɐɥɔsɐS

I had to go back to a legacy project using jQuery (everyday work nowadays in Vue/Nuxt).
Although I remembered quite a lot, I used Github Copilot for the first time in that project, which made it way easier.

I even learned the jQuery method detach() suggested by Copilot, although I hope to never go back again to that project anytime soon. 😅

Collapse
 
nickytonline profile image
Nick Taylor

Hot Rod saying Cool beans!

Collapse
 
dumboprogrammer profile image
Tawhid

I learnt to KIS(Keep it simple).
It really had an impact on me and also solved one of my probs.

Collapse
 
nickytonline profile image
Nick Taylor

Nice!

BB-8 giving a thumbs up

You don’t need to share if you don’t want to, but I’m curious what it helped solve for you as it could help others.

Collapse
 
dumboprogrammer profile image
Tawhid

I would love to share! So I had made my mind to attend a game jam and so did but I had so much planned in my mind and tried executing them on the game and I lost so much time on making a single thing "more complex and perfect" while others were left and at last I decided to abandon that game and start over again.This time I completed it in 2 days but was already late, later I contacted the host and he helped me resubmit.After completion I slowly added more stuffs and updated it more but started with a simple base.This was one of my problems for a long time.I always tried to make it perfect at start but now I start with something simple and slowly progress.

Collapse
 
sovea profile image
Harley

I learned how to use automake & autoconf.

Collapse
 
nickytonline profile image
Nick Taylor

That's awesome! 🔥

Yes, that's awesome!