DEV Community

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

Posted on

April 28th, 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.

![David from Schitt's Creek saying "This is a teachable moment for all of us!"](https://media.giphy.com/media/Q8rwlNTcDAU3MuUzd7/giphy-downsized-large.gif)

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 (30)

Collapse
 
joaozitopolo profile image
Joao Polo

SWR for react, and to use useReducer.
Ppl, you need to know the main reason to use useReducer: it has NO dependencies!!!
Can you imagine to use your state changing functions without to worry with dependencies? It's awesome.

Collapse
 
nickytonline profile image
Nick Taylor

Actor from Game of Thrones saying Nice!

Collapse
 
errorgamer2000 profile image
ErrorGamer2000

Not entirely dev-related, but I found out that AP exams are essentially useless in later life.

Now please excuse me while I go study for the APUSH, AP Calc, and AP English exams my school has forced upon me.

I also learned that using create-react-app sets up a PWA manifest for you, and makes offline service workers easy to add as a feature...

Collapse
 
nickytonline profile image
Nick Taylor

BB-8 giving a thumbs up

Collapse
 
krymspree profile image
Clayton Jensen

I learned how elegant component libraries and frameworks can be when you're not entirely fluent in CSS. I love frontend but hate writing CSS, so using a component library like ChakraUI or even using something like Tailwind makes the process of creating websites so friendly. 🤷‍♂️

Collapse
 
nickytonline profile image
Nick Taylor

Shia LeBoeuf in character saying Magic!

Collapse
 
jonahbutler profile image
jonah-butler

How In-App-Purchases work and how to build them into a mobile application. It's been kind of a headache these past few weeks, but it always feels great to make it to the other side with 2 more gray hairs and a happy disposition.

Collapse
 
nickytonline profile image
Nick Taylor

Hot Rod saying Cool beans!

Collapse
 
diballesteros profile image
Diego (Relatable Code)

Learned how to better parse markdown server-side using remark and rehype.

Learned a bit more about META tags. Didn't know there was a meta tag property for crawlers not to follow the website.

Also learning more about Remix (the React meta-framework) everyday.

Collapse
 
nickytonline profile image
Nick Taylor

That's awesome! 🔥

Yes, that's awesome!

Collapse
 
baenencalin profile image
Calin Baenen

Ðat JavaScript REALLY needs a way to load local files client-side.

Collapse
 
nickytonline profile image
Nick Taylor • Edited

I'm assuming you mean JavaScript in a web browser and not Node.js.

You can read local files using browser file APIs if a file is added via an <input type="file" /> on a page.

That's pretty much what you're restricted to for security reasons.

Collapse
 
baenencalin profile image
Calin Baenen

Yes.
I do mean in ðe browser.

I don't want to use <input> because ðen ðe user's gonna be like "What the hell do they mean find the "main file"??" and be why ðe app doesn't start working right away.

That's pretty much what you're restricted to for security reasons.

I just don't understand how ðere could be security issues reading local files, especially if ðey were bundled wiþ ðe HTML.

Collapse
 
aidutcher profile image
Alec Dutcher

This week I learned about account management and security concepts in Snowflake to help prepare for certification.

Collapse
 
nickytonline profile image
Nick Taylor

Chow Yun-fat giving a thumbs up

Collapse
 
tqbit profile image
tq-bit

I learned about networking, DNS service discovery and Traefic. Seemingly just scratched the surface, but it's a technology I'm curious to learn more about.

Collapse
 
nickytonline profile image
Nick Taylor

Nice!

Nice

Collapse
 
nickytonline profile image
Nick Taylor

Awesome!

Hackerman from Kung Fury putting on a Nintendo Power glove

Collapse
 
marcosrafael profile image
Marcos Rafael

Docker compose and Mysql.

Collapse
 
nickytonline profile image
Nick Taylor

Let's go!

A kid twirling in a cowboy outfit firing pistols that are their fingers

Collapse
 
ericmyerdev profile image
Eric Myer

How to use CSS to create a masonry style layout without any JS, but there is a masonry implementation being proposed for CSS grid that I’m looking forward to.

Collapse
 
nickytonline profile image
Nick Taylor

Yeah!

A T-Rex saying Yeah!

Collapse
 
nickytonline profile image
Nick Taylor

Actor Zach Galifianakis giving a thumbs up in a convertible car

Collapse
 
eibz91 profile image
Eduardo

I learn more about certificates that ssl is and found and awesome tool mkcert that helps in your localmachine

Collapse
 
nickytonline profile image
Nick Taylor

Stephen Colbert saying Awesome Sauce

Collapse
 
wkylin profile image
wkylin.w

React v18

Collapse
 
jeoxs profile image
José Aponte

This week I learned that you need to keep your Google Play Console upload key saved! I lost mine while changing OS and then found that you can only do a replacement submitting a ticket at support.