DEV Community

Discussion on: What was your win this week?

Collapse
itz_giddy profile image
Audiophile

I was able to fix an issue I'd been having with a Reacstrap(bootstrap + react) component, by actually going to the GH repo and reading the source code.

It was nowhere to be found in the official docs.

I'm usually scared of diving deep into a repo for a package to see its source code because it literally hurts my brain most times, especially if it's written in TypeScript(and I don't know TS yet).

I'm proud because I overcame my fear, solved the issue I was having and didn't procrastinate about writing an article about it. This is a win for me.

Collapse
shiftyp profile image
Ryan Lynch (he/him)

Woot! Congrats, I know the fear! TypeScript can be scary, but it has no teeth...only error messages. 😜

Collapse
itz_giddy profile image
Audiophile

Haha thanks Ryan! I already plan to learn it (and fall in love with it) in the coming month, the confidence I've gained since solving that issue has increased!

Thread Thread
shiftyp profile image
Ryan Lynch (he/him)

I would say if you solved an issue in code using Typescript, you are well on you way!

Thread Thread
shiftyp profile image
Ryan Lynch (he/him) • Edited on

I have a resource for you actually (one of mine)! It's a "game of life" clone you can edit 🏝️.fm

Collapse
peoray profile image
Emmanuel Raymond

The "especially if it's written with TypeScript" is my situation also. I don't even waste my time whenever I see the library is written with it. it's becoming unpleasant these days. perhaps, it's a sign to learn it ;)

Collapse
itz_giddy profile image
Audiophile

Maybe it is :)