Aspiring web developer moonlighting as vector illustration. π»π³ Sharing what I've learned about coding that help everyone save more time and chillax. She/her.
Yay world. After a day of frustration, I was finally able to make a simple command line app that searches for Tweets @TwitterAPI @TwitterDev . Look forward to the day when I can make an authenticated request in one try. #webdev#webdeveloper#webdevelopment#Node@nodejs
One of my goals for this quarter is to get my first bug fix approved on an open source project @NetlifyCMS . And I'm very chuffed to say that I can cross that off now. More importantly, it's cool to help improve an app I depend on so much. #javascript#reactjs#javascript30
Once in a blue moon, I have the urge to change my shell prompt. Here's what it looks like currently, which displays a #git branch if a directory is a Git repository. Written with a #bash shell script that I'l forget tomorrow π #unix#terminal#codersnotes
Excited to say that after being a long time lurker, I finally had my first contribution to @NetlifyCMS by @Netlify . The project maintainers and collaborators are so supportive and I couldn't have asked for a better open-source project. #100DaysOfCode#webdevelopment#OpenSource
@empirepowder π. I was one of those people, though I was not upset enough to leave reviews. It wasn't until I became a developer that I realized building amazing apps take time and money. Surprise.
Cool thing I learned today: Compare specific files between two #git branches. This is quite helpful to see if you will have merge conflicts, or comes in handy when you come back project after a long time and have no idea what it was about π . #webdev#codersnotes#versioncontrol
@empirepowder Congrats. I often find that the first few days are the hardest. Once I get the ball rolling, it becomes automatic. But I just need to skip a day and it's so hard to get back. π€ͺ
In #React , I often write define constructor and call super(props) without understanding if it's really necessary. So today it's nice to know that I can skip that if I don't have anything to initialize, thanks to the class field feature in #javascript. #100DaysOfCode#codersnotes
I love @housecor 's courses at @pluralsight because in addition to one of the best teachings of #React , I get to learn development tips that I never know I need. For ex, use extension to avoid writing the same boilerplate code over and over again. #javascript#codersnotes
@erikaheidi Hi Erika. I don't have an answer for this π but generally how long do you spend on issues like this before calling it a day? Asking because sometimes I spent nearly a whole afternoon on an issue to no avail. It wouldn't make a difference if I only spent half an hour or so.
@sarah_edo Hi Sarah. I'm so sorry to hear what you're going through, but I have nothing to give except that sending all positive vibes to both of you β₯οΈ
I thought I know promise in #javascript, but I've just learned that:
promise.catch(f) is the same as promise.then(null, f).
That means you can catch errors using the `.then` method only, although using `.catch` is more convenient.
#100DaysOfCode#codersnote#Developer#webdev
What to do when you're at an element and you need to walk up the DOM tree to get an ancestor of a certain selector? #jQuery can do it easily, but I've learned of a pure #javascript polyfill that I can make do with π€ͺ #100DaysOfCode#javascript30#webdev#webdevelopment
Embarrassed to say that I've only learned of the difference between currentTarget and target in #javascript events today:
- currentTarget gets the element that an event listener is attached to.
- target gets the element that triggers the event.
#100DaysOfCode#webdev
Sometimes, you have an input field of type number, but it is indeed a string and you want to coerce it to a number. My first instinct is to use parseInt(input, 10), but a developer before me used unary plus. Here's the difference between those twoπ#javascript#100DaysOfCode
What is state management in #reactjs ? If you don't know what it is, or not sure if you really understand it, how about making something in Kanban board style? It also taught me more about #React hooks than any course I've taken π . #javascript#100DaysOfCode#webdev#webdev