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.
Latest comments (42)
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
I learned Unit Test with .Net Core 6 and the importance to try to not leave technical debt in your projects.
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
I had an exciting deep dive into the upcoming Terraform v1.2 release features! And wrote a blog about that 🤩
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!
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!
This week I learned that you can measure the use of "curl | bash" from the server-side :)
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
I re learned that html IDs can just be typed into the console just like the $0 trick for quick play
really
I am migrating from NextJS 10 to 12 and Material-UI 4 to MUI 5, and have some problems ))
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?
I upgraded. My problems are:
1) I didn't learn
emotion
yet. my JSS aftercodemod
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
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 :) )
Noice!
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. 😅
I learnt to KIS(Keep it simple).
It really had an impact on me and also solved one of my probs.
Nice!
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.
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.
I learned how to use automake & autoconf.
That's awesome! 🔥