Trang Le
@bytrangle
Followers
70
Following
966
Media
89
Statuses
315
Aspiring web developer moonlighting as vector illustration. π»π³ Sharing what I've learned about coding that help everyone save more time and chillax. She/her.
Vietnam + Internet
Joined May 2019
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
0
2
3
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
0
2
5
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
0
0
1
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
0
7
10
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
0
0
0
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
0
1
3
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
0
2
4
Have you ever got back to a project after a long time and needed a little hint of what a commit includes ? I haveπ©, and I've found a lengthy git command that shows you all files modified in a commit. #git #gitcookbook #codersnote #100DaysOfCode #developers #webdev
0
4
3
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
0
7
5
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
0
5
7
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
0
7
4
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
0
4
2
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
1
11
5
Just report my glacial-speed progress. #css #webdev #WebApp #100DaysOfCode #React . I hope one day I can draw a real triangle in CSS.
0
6
2
Thanks to @nnja I've learned that I don't have to remember all commands associated with stage hunk in #git. Just type the question mark and get a complete description of all commands. What an awesome course @FrontendMasters #development #DEVCommunity
1
0
1
Some new effects that can be created with #CSS that I've learned recently: Make chart axis, arrows and rotated text. #100DaysOfCode #webdev #webdevelopment #webdesign . Can you guess what I'm making?
0
6
6
Cool thing I learned about class-based state #react on @FrontendMasters today: - You can pass a function to setState π² to implement all kinds of logic. - Pass a callback function to setState to get its updated value instead of using the verbose componentDidMount . #javascript
0
1
0
βThe main job of React is to take your application state and turn it into DOM nodesβ. Loving the course State Management in Pure #react by @stevekinney at @FrontendMasters . I also think of it as a 10000ft view of React that I'd recommend to anyone. #100DaysOfCode #development
0
7
4
I finally know how gradients work in #CSS thanks to the marathon course by @estellevw at @FrontendMasters . I'd recommend it to CSS users of any level. And here's my hideous pattern background for show. #100DaysOfCode #webdevelopment #webdev #webdesign
0
3
4
I've written a few CLI apps and scripts in @nodejs but I've always been frightened by its stream concept. After watching Kyle's course on @FrontendMasters , it finally makes sense π€ͺ. Now I will no longer think of Node as just server-side #javascript
https://t.co/0spdw7yJUV
frontendmasters.com
Learn the fundamental concepts of Node.js programming: CLI programming, file system access, asynchrony, HTTP servers & routing, and database persistence.
0
3
2
Cool concept I've learned about #development on a @nodejs course by Kyle Simpson @FrontendMasters: the MIDDLE END, a DMZ π
: - sit between frontend and backend -a collection of common web app behaviors: routing, templating etc. - treat backend as an API. https://t.co/0spdw7yJUV
frontendmasters.com
Learn the fundamental concepts of Node.js programming: CLI programming, file system access, asynchrony, HTTP servers & routing, and database persistence.
0
1
1