DEV Community

Cover image for July 21st, 2022: What did you learn this week?
Nick Taylor
Nick Taylor Subscriber

Posted on

July 21st, 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.

Image of the brain

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.

Photo by Joshua Dow on Unsplash

Top comments (9)

⭐ Must Read: nickytonline/july st what did you learn this week nn - สรุปดราม่าล่าสุด
 
timoye profile image
Timothy Soladoye •

I learnt morphMap

  Relation::morphMap([
        'customers' => 'App\Customer',
        'warehouses' => 'App\Warehouse',
    ]);
⭐ Must Read: nickytonline/july st what did you learn this week nn - สรุปดราม่าล่าสุด ⭐ Must Read: nickytonline/july st what did you learn this week nn - สรุปดราม่าล่าสุด

to resolve class names while using Morph in Laravel
It is awesome!
Read more on Joseph Silber's Article

⭐ Must Read: nickytonline/july st what did you learn this week nn - สรุปดราม่าล่าสุด
 
nickytonline profile image
Nick Taylor •

It's morphin' time!

The Power Rangers morphing

⭐ Must Read: nickytonline/july st what did you learn this week nn - สรุปดราม่าล่าสุด
 
codercatdev profile image
Alex Patterson •

I thought you could pass a ref through props, instead you need to use forwardRef

dev.to/sajithpradeep/understanding...

⭐ Must Read: nickytonline/july st what did you learn this week nn - สรุปดราม่าล่าสุด
 
nickytonline profile image
Nick Taylor •

It's True - Dwight Shrute

⭐ Must Read: nickytonline/july st what did you learn this week nn - สรุปดราม่าล่าสุด
 
onwuemene profile image
Joshua •

learned Sass and I worked on a project with Sass.

⭐ Must Read: nickytonline/july st what did you learn this week nn - สรุปดราม่าล่าสุด
 
nickytonline profile image
Nick Taylor •

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

⭐ Must Read: nickytonline/july st what did you learn this week nn - สรุปดราม่าล่าสุด
 
thomasbnt profile image
Thomas Bonnet •

Learned more how to use CORS and Express for an API. 🤩

⭐ Must Read: nickytonline/july st what did you learn this week nn - สรุปดราม่าล่าสุด
 
nickytonline profile image
Nick Taylor •

Nice!

A kangaroo playing an electric guitar

⭐ Must Read: nickytonline/july st what did you learn this week nn - สรุปดราม่าล่าสุด
 
sosodope profile image
Sodope •

Learned that lodash has a camelCase method