DEV Community

Prudence97
Prudence97

Posted on

Learning React, Lessons from coding and Programming Memes.

I had a very busy codeful week and I learnt a lot. I'm hoping that I could share them in detail soon but today, I'll be sharing a summary of my findings or lessons.

  1. I learnt that there was a difference between External and Internal Link in React. In simpler terms, using NavLink and Link tags should be used for internal pages and a href tag would be used for external pages.

  2. I've been struggling with a particular error "TypeError: can't read properties of Null (reading 'id'). I was on stack overflow a lot last week. I think I'll figure it out this week. 🀞🏽

  3. I think I'm getting a hang of Supabase. It was really difficult at first, then I found a few resources that helped.
    However, I'm still unsure about my SQL policies and how I can get them to work with my tables. Again, I'm hopeful I'll figure it out this week.

  4. Finally, DOM Purifiers. I think it's something that can help make input unreadable to script and tags. That is, it'll help to protect inner HTML's from reacting to Programming languages. I guess. I don't know if it works with React or if React is already protected in anyway.

Finally,
Dear Developer I think Bugs, Errors and problems would always come but we'll always figure it out.

Don't get a burnout. Do what you love. See a movie or two.
Live.πŸ’•

Until next week.

Obito


Oh😐 I promised Memes.

dragon

Image Credit: Google πŸ”Ž

drag

Image Credit: Google πŸ”Ž

dragee

Image Credit: Google πŸ”Ž

draggg

Image Credit: @Dunsin_codes on 🐦

dragon

Image Credit: @euboid on 🐦

🀭☺️☺️Until later, and yes, Leave a comment or share a meme.


Top comments (3)

Collapse
 
shubhamtiwari909 profile image
Shubham Tiwari

For the 3rd problem, I think you are calling an element with some I'd whose value is null means it doesn't exist I guess that's why it is returning null

Collapse
 
prudence97 profile image
Prudence97

This makes absolute sense.

I've read that I could use

Collapse
 
prudence97 profile image
Prudence97

Thank you. I'll check it out