loading...
John Au-Yeung profile picture

John Au-Yeung

I'm web developer interested in JavaScript stuff.

Work

Programmer

Last 250 comments

Useful Free APIs — Books and Religious Text

Bhagavad Gita - bhagavadgita.io/api British National Bibli...

Useful Free APIs — Books and Religious Text

Sure. Let me do that.

How to Make a Calendar App with React

No problem

How to Make a Calendar App with React

If you use decorators, then you don't use makeObserver. The ...

How to Make a Calendar App with React

Did you follow this guide? mobx.js.org/observable-state.html

How to Make a Calendar App with React

You tried enabling decorators? mobx.js.org/enabling-decorato...

How to Make a Calendar App with React

Thanks for reading. Sure. Let me find it and link it here.

Fake REST APIs That We Can Use to Build Prototypes

That looks good? There's also JSON server npmjs.com/package/...

How to Make a Calendar App with React

You can them from the API or store the user data on client si...

Truncate Text Easily in Your Vue.js App with Vue-Clamp

Thanks for reading. Vue-snip looks good. I think your librar...

What’s new in Lighthouse 6

Not sure. But how would they write about it if they haven't u...

JavaScript Best Practices — Designing Functions

That makes sense. It's hard to forget if they're descriptive...

JavaScript Best Practices — Rest Operator

I think it's a great use of the rest syntax. Anything is bet...

Why Should Developers Blog?

If I import my WordPress feed, it'll get the content. But if...

Why Should Developers Blog?

I see. That's convenient. I guess both ways have value.

Why Should Developers Blog?

But all it does is show the link to the original post. At le...

Why Should Developers Blog?

I didn't know about the RSS tool. I should do that instead o...

Why Should Developers Blog?

Thanks for the tips. I find that the audiences are different...

Top Mistakes That Back End Developers Make

Having an automatic pipeline for deploy and rollbacks definit...

Top Mistakes That Back End Developers Make

Thanks

Top Mistakes That Back End Developers Make

Thanks.

Top Mistakes That Back End Developers Make

Thanks

More Ways to Level Up as a Developer

Thanks. Yes. Practice will accelerate learning significantly.

More Ways to Level Up as a Developer

Yea. It's one way to think about the user instead of just wri...

More Ways to Level Up as a Developer

Thanks very much

More Ways to Level Up as a Developer

Python is a great scripting language. Lots of libraries avail...

More Ways to Level Up as a Developer

Can't live without Linux in this world.

How to Create a Progressive Web App with Vue.js

Perfect. That'll disable the button until the form values ar...

Roadmap to Becoming a Back End Developer

Git is handy for everything. Unit testing is also useful. No...

Programming Habits for Good Programmers

Yes. If they might diverge, then it's OK to make a copy and c...

Some Tips for Becoming a Great Developer

They are all good tips. Bugs are definitely annoying and rus...

How to Go From Being a Tutorial Watcher to a Developer

I agree with that. They are a great place to start. Then it'...

Ways to Get Better As Developers

Thanks

How to Go From Being a Tutorial Watcher to a Developer

Yes. It's pretty hard to learn programming without practice. ...

How to Go From Being a Tutorial Watcher to a Developer

That makes sense. But after watching the videos, it's time t...

How to Be a Good Remote Developer

Thanks

Why Should Developers Blog?

Yea. Sharing knowledge helps everyone including yourself. St...

JavaScript Clean Code — Test-Driven Development

I think that makes sense. No matter what test you have it wi...

Top Mistakes That Developers Make

Yea. Once he tries it, pretty sure he can't go back to testin...

Top Mistakes That Developers Make

Agreed. Never write or use code that we don't understand. It...

Top Mistakes That Developers Make

I think we can combine them with automated tests. They serve...

Top Mistakes That Developers Make

I think tests are pretty good for documentation, so at least ...

Fake REST APIs That We Can Use to Build Prototypes

This looks useful and pretty easy to use.

Side Projects That We Can Create With Free APIs

Thanks very much for reading!

Tips on Keeping a Long-Running Programming Career

One thing we have to know that programming is so useful that ...

Coding Practices Our Teammates Will Thank Us For

Thanks. I corrected it.

Tips on Keeping a Long-Running Programming Career

Thanks for reading. Yea. We got to try different things unti...

JavaScript Code Smells — Functions

Thanks. Destructuring and default parameters are great featu...

Where’s the Sleep Function in JavaScript?

That makes sense. Good to know if we're using Node.js

Where’s the Sleep Function in JavaScript?

I think it got to be a Node.js style callback with err as t...

Where’s the Sleep Function in JavaScript?

This only works if each iteration runs for a millisecond, d...

Free and Fake APIs You Can Use to Practice Front End Development

That looks good. I see that it can seed data according to ...

JavaScript Code Smells — Functions

Thanks

Many Things You Can Do With Python Lists You May Have Missed

Yes. You're right

JavaScript Best Practices for Writing Robust and Performant Code

That's a good find. I just make sure to have as little nest...

Why is Lodash Still Useful?

Thanks for reading

Why is Lodash Still Useful?

I'm not sure if it's finalized yet, but hopefully, it will ...

Why is Lodash Still Useful?

I think the array's built-in filter method is pretty good ...

Why is Lodash Still Useful?

This is one of the ones that we can implement ourselves wit...

Why is Lodash Still Useful?

It's useful if you don't want to create your own function t...

Why is Lodash Still Useful?

I agree. I think there're things like differenceWith in Lod...

Why is Lodash Still Useful?

You're right. Just import the methods you need to use. That...

Handy JavaScript Array Tips

You can use the filter method. This means you write someth...

What can we build with JavaScript?

Thanks for reading. Write a Node app and use the mysql lib...

More App Ideas to Practice Programming with JavaScript

Yea. I couldn't learn how to program any other way.

More App Ideas to Practice Programming with JavaScript

Projects actually requires problem solving capability, whic...

More App Ideas to Practice Programming with JavaScript

Yes. Writing code is the best way to learn programming.

Create Web Components with Vue.js

Thanks for reading. The repo is at bitbucket.org/hauyeung/...

More APIs to Practice Programming With

More is better for practice. That's for sure.

More APIs to Practice Programming With

Yea. That's a great resource.

More APIs to Practice Programming With

That's great. It's useful and it's good for practice.

More APIs to Practice Programming With

Thanks for reading. People like you encourage me to keep po...

More APIs to Practice Programming With

Thanks for reading! Yes, I fixed the typo.

Basic Skills Web Developers Should Learn

Yes. Those would be less popular so they wouldn't be must-l...

Basic Skills Web Developers Should Learn

Yea. I think the first part is more general. The front and ...

Basic Skills Web Developers Should Learn

Thanks. That list is pretty comprehensive

Free and Fake APIs You Can Use to Practice Front End Development

These are good. I would also add the New York Times API to ...

Basic Skills Web Developers Should Learn

Thanks. I updated it.

Free and Fake APIs You Can Use to Practice Front End Development

It's good. It has lots of endpoints and data you can displa...

Free and Fake APIs You Can Use to Practice Front End Development

Thanks. These are good for practice.

Free and Fake APIs You Can Use to Practice Front End Development

Thanks. I didn't know that existed

The Best Frameworks to Build a Minimum Viable Product

The only thing I like about Rails is the Rails console. If ...

Why it's time to use Vue.js?

Yea. I don't know why they choose to pair with Laravel. I ...

The Best Frameworks to Build a Minimum Viable Product

Are there lots of libraries made for it?

Why it's time to use Vue.js?

Vue has a bigger community than Svelte. I agree that they ...

Free and Fake APIs You Can Use to Practice Front End Development

NASA's API is pretty high quality. Lots of photos URLs, dat...

The Best Frameworks to Build a Minimum Viable Product

The only problem are that you have to write code to handle ...

Free and Fake APIs You Can Use to Practice Front End Development

Thanks. Your site looks good. If it has auth built-in, then...

Free and Fake APIs You Can Use to Practice Front End Development

Thanks

Use React to Display Images in a Grid Like Google and Flickr

I didn't change HomePage.css from the default so I left it ...

Simple Web App Ideas to Practice Your Programming

Thanks

Developers, Learn these frameworks to make yourself big bucks

Yea. My mind is thinking about startups when I was writing ...

Developers, Learn these frameworks to make yourself big bucks

Thanks for pointing that out. That makes sense. I was think...

Developers, Learn these frameworks to make yourself big bucks

You're right. It's as modern as the other frameworks out th...

A Comparison of the Education Paths to Become a Job-Ready Web Developer

The world is yours if you can program.

A Comparison of the Education Paths to Become a Job-Ready Web Developer

Thanks very much for reading. Yea. Being able to program y...

Learn from these Websites to Launch Your Remote Job Career

That's great. There're definitely a few topics that people ...

How to Become a Digital Nomad

Thanks. I'll add them to my list.

3 Business Ideas that Takes Little Capital to Start

Yes. That's my experience. But on the other hand, it's much...

3 Business Ideas that Takes Little Capital to Start

Thanks for reading.

3 Business Ideas that Takes Little Capital to Start

I think 3rd party platforms are easier to get an audience. ...

3 Business Ideas that Takes Little Capital to Start

Thanks. I fixed it.

How to Hire People to Build an Online Business

Thanks for reading.

Best Collaboration Tools for Remote Workers

Thanks for reading. Yea. Any team can use these tools. But...

Top JavaScript Trends of 2020

I think you have to make your own interfaces and type alias...

Top JavaScript Trends of 2020

At least there's this scaffold to start github.com/Microsof...

How to Become a Digital Nomad

Thanks so much for reading! Yea. I freelance is actually t...

Best JavaScript Frameworks to Learn as a Developer

You can add everything except form validation with Vue CLI.

Best JavaScript Frameworks to Learn as a Developer

I haven't. I can't say I know enough about AI or cryptocurr...

Best JavaScript Frameworks to Learn as a Developer

Vue has more stuff that just the view so I think it's more ...

Best JavaScript Frameworks to Learn as a Developer

You probably making your own framework if you want to creat...

Best JavaScript Frameworks to Learn as a Developer

I think React is less complex than Angular. React also uses...

Best JavaScript Frameworks to Learn as a Developer

Definitely. These are listed in any particular order. They'...

Best JavaScript Frameworks to Learn as a Developer

Nest.js is full-featured, so it has everything out of the b...

Best JavaScript Frameworks to Learn as a Developer

Thanks for reading. I think it's up to team or personal pr...

How to Make Money as a Developer

Yea. Pretty much. Unless you want to play or use free servi...

How to Make Money as a Developer

You can make your own app to use their API or subscribe to ...

How to Make Money as a Developer

That's already a lot. They'll keep you busy.

How to Make Money as a Developer

Sharing on social media helps if you have followers. Twitt...

How to find followers for your Twitter Profile and engage with them?

Thanks. I followed you.

How to find followers for your Twitter Profile and engage with them?

I'm on LinkedIn and Twitter. I don't know about Gitter.

Want a Work from Home Job That You Love? Go to These Websites to Find One

Thanks. That's a good find.

Want a Work from Home Job That You Love? Go to These Websites to Find One

That's great. It's better than commuting and before watched...

Want a Work from Home Job That You Love? Go to These Websites to Find One

Remote's always harder because there're way fewer jobs. Bu...

Top 10 Ways to Get More Traffic to Your Company's Blog

Thanks for reading!

Want a Work from Home Job That You Love? Go to These Websites to Find One

If you don't mind paying for InMail, I think it can work. ...

Want a Work from Home Job That You Love? Go to These Websites to Find One

I can make one categorized by country.

How to find followers for your Twitter Profile and engage with them?

Thanks. I followed you. It's a great first step. Just make...

If You Want to Work From Home, Learn These Skills

Thanks. Making money without a 9 to 5 is definitely therap...

Quick Intro to Python Modules

Thanks. I made the correction.

Top 10 Ways to Get More Traffic to Your Company's Blog

Thanks so much for reading

Python String Methods You May Have Missed

Yea. I think I wrote about slicing somewhere else. I'll po...

Top 10 Ways to Get More Traffic to Your Company's Blog

It depends on who you're targeting with your article. Some...

Top 10 Ways to Get More Traffic to Your Company's Blog

Yea. And you have time to try more ideas. If it's a long p...

Top 10 Ways to Get More Traffic to Your Company's Blog

Yea. They're boring and people don't want to read a wall of...

Coding Conventions for Writing JavaScript

That's not a bad idea. I think consistency is more importan...

Many Things You Can Do With Python Lists You May Have Missed

That makes sense. I haven't seen this documented in many pl...

Many Things You Can Do With Python Lists You May Have Missed

I see. The list comprehension is used as a predicate?

Many Things You Can Do With Python Lists You May Have Missed

Thanks for reading. You mean make a filtered list with los...

Many Things You Can Do With Python Lists You May Have Missed

Thanks so much for reading and catching that mistake. I cor...

20 Highest Paying Skills for Freelancers

It's always tough to deal with freelancers, but I think now...

Many Things You Can Do With Python Lists You May Have Missed

There's no difference.

What non-CMS tools would you use to make a small but growing website?

So far Grammarly was pretty helpful for catching typos. I wi...

New ES2020 Features — Strings, Numbers, and This

Thanks for catching that. Yes. globalThis is a variable. I...

Organize Code with Python Functions

Thanks very much for reading!

TypeScript Indexable Type — Introduction to TypeScript Interfaces

According to TypeScript release notes, they keeping adding ...

TypeScript Indexable Type — Introduction to TypeScript Interfaces

Thanks very much or reading. Typescript is more flexible t...

JavaScript Type Checking with Flow — Variables and Functions

Yes. It's supported by Babel and Create React App. You can...

20 Highest Paying Skills for Freelancers

It's an average between the abysmal paying jobs on freelanc...

Flexibility and Boundaries in a Business Environment

I think you can check if the showModal method is a function...

New ES2020 Features — Strings, Numbers, and This

Thanks so much for reading!

Flexibility and Boundaries in a Business Environment

The problem is that I see that most managers don't want to ...

Introduction to the HTML Dialog Element

It really depending on your requirements. Is easy to style...

JavaScript Events Handlers — onfullscreenerror and onpaste

Thanks very much for reading!

TypeScript Advanced Types: Type Guards

Thanks very much for reading!

Introduction to the HTML Dialog Element

It's a quick and dirty solution. Edge should support this e...

Introduction to Vue

Thanks very much for reading!

The $200 Challenge

That's great. What would you do differently if you want to...

How to Speed Up Angular Tests

That's great. It's annoying to have to put everything in th...

How to Speed Up Angular Tests

Thanks. That's a useful find.

The Complete Guide to Using Arrays in JavaScript

There's freecodecamp, lots of articles on this site, Medium...

Easy Introduction to JavaScript Generators

You can use async generators to get data for infinite scrol...

Easy Introduction to JavaScript Generators

Hi Roger, Thanks so much for reading. Symbols are nothing ...

The Complete Guide to Using Arrays in JavaScript

Thanks so much for reading. I was thinking about the finit...

Create Web Components with Vue.js

Hi Andreas, thanks so much for reading. I'll find it and li...

Handy JavaScript Tricks Object and Array Tricks to Save You Time

Sorry. I missed that. I corrected it now.

Handy JavaScript Tricks Object and Array Tricks to Save You Time

Thanks very much for reading.

Handy JavaScript Tricks Object and Array Tricks to Save You Time

Thanks so much for reading and catching that. I corrected ...

How to Create a Progressive Web App with Vue.js

I fixed the errors

How to Create a Progressive Web App with Vue.js

Thanks for catching that. I'll fix them later.

Handy JavaScript Tricks That Saves You Time

Thanks foe reading

Handy JavaScript Tricks That Saves You Time

Thanks for reading. I'll post more soon.

Handy JavaScript Tricks That Saves You Time

Indeed. This is a real time saver.

Handy JavaScript Tricks That Saves You Time

Thanks for reading!

Debugging JavaScript Apps with the Console Object

Thanks. The console object is more useful than we think it ...

Build a Native Desktop App with Angular and Electron

Thanks very much for reading!

Build a Native Desktop App with Angular and Electron

Thanks for much for catching that. I forgot to put that in....

Using the JavaScript Number Object

Yea. The only way to learn all those is to try all of them ...

Adding Drag and Drop to JavaScript Apps

Yes. They're separate.

Truncate Text Easily in Your Vue.js App with Vue-Clamp

Thanks so much for reading!

The JavaScript Cryptography API That You May Have Missed

Yea. I didn't find this until I was digging around. Not su...

Adding Drag and Drop to JavaScript Apps

There are similar events for touch. You can see a summary ...

The JavaScript Cryptography API That You May Have Missed

The API is very comprehensive. It supports lots of algorit...

Jan. 17, 2020: What did you learn this week?

Learned the hooks API for React Redux.

Introduction to TypeScript Data Types — Tuple, Enum, and Any

Yea. It's better for it to not look like an array. They pr...

Introduction to TypeScript Data Types — Tuple, Enum, and Any

It's just converted back to the usual JavaScript data types...

Introduction to TypeScript Data Types — Tuple, Enum, and Any

A tuple is like an array but it's fixed length and has no a...

How to Add Infinite Scrolling to Your React App

Thanks very much for reading. Did you have Formik and Yup ...

Add Dynamic Styling to HTML Elements With JavaScript

That looks right. It's the most basic introduction. I'm sur...

Using Callbacks and Closures in JavaScript

Thanks so much for reading!

How You Can Make a Browser Extension with Vue.js

Thanks so much for reading!

More JavaScript Mistakes You May be Making

As long as we remember the difference, I think it's OK. Als...

More JavaScript Mistakes You May be Making

Yea. Type coercion is tricky. I think we just have to conve...

Storing Key-Value Pairs With JavaScript Maps

Thanks very much for reading

More JavaScript Mistakes You May be Making

This wouldn't be 100 percent reliable since 0, empty string...

More JavaScript Mistakes You May be Making

Breaking return statement is most likely a mistake since th...

Use the URL Object in JavaScript for Easy URL Manipulation

Thanks very much for reading.

Tell me an unpopular software opinion

Not paying overtime is pretty normal. But staying that late...

Tell me an unpopular software opinion

I mean they can still operate without hiring more people. ...

How to Add Browser Notifications to Your React App

Yea. It should be used sparingly. Otherwise, it'll become a...

Formatting Dates With the DateTimeFormat Object

Yea. We don't need libraries to format JavaScript dates. J...

Will you write code after you retire? How will your relationship with our craft change?

Writing code is useful even if you don't have a job. Writi...

Tell me an unpopular software opinion

I don't think most companies need employees that badly. The...

Tell me an unpopular software opinion

Yea. There are nice ones. Just that there're more bad ones....

How To Build an App With Drag and Drop With Angular

Thanks very much for reading!

Tell me an unpopular software opinion

Yea. People are working themselves hard. I think some peopl...

Tell me an unpopular software opinion

I think this is true after ES6 when JavaScript has all the ...

Handling Dates in JavaScript

Yea. I only discovered it on MDN when I'm writing about it.

Handling Dates in JavaScript

There's actually a lot of features for internationalization...

Handy Tools for Writing JavaScript Apps You May Have Missed

That's great. It beats Google that's for sure.

Handling Dates in JavaScript

toLocaleDateString actually has lots of options to format d...

Handling Dates in JavaScript

This is the closest thing I can find to format dates in th...

What does everyone plan to learn in web development this year?

Yea I didn't know that existed. It's interesting at least.

Some Things About JSON That You May Have Missed

I think ternary operator shouldn't be nested. It's harder t...

What does everyone plan to learn in web development this year?

The latest React feature are hooks. Are there anything else...

What does everyone plan to learn in web development this year?

Django's nice. Not too hard to learn. And it has an admin t...

Common JavaScript Mistakes You May be Making

Yea. That example works in JavaScript because it lets use p...

Common JavaScript Mistakes You May be Making

The last snippet assume that everyone knows what the first ...

How to Use the Optional Chaining Operator in Your React App Right Now

Thanks for pointing that out. The 2 choices for using the ...

Some Useful JavaScript String Methods You May Not Know About

Thanks for looking at the examples. I'll check them later.

JavaScript Math Methods and Constants You don't Know Existed

Thanks for pointing that out. I should update that.

JavaScript Math Methods and Constants You don't Know Existed

Handy for writing games or graphical programs.

What does everyone plan to learn in web development this year?

It's pretty cool to see stuff update live.

Some Useful JavaScript String Methods You May Not Know About

Thanks for reading and catching those typos. I'll fix them...

Some Things About JSON That You May Have Missed

Thanks. That's also a good tip. I think equality is still ...

Some Useful JavaScript String Methods You May Not Know About

Thanks. That's not a bad idea

Some Useful JavaScript String Methods You May Not Know About

100 percent agree with that. A string constructed with the...

When is nesting good or neutral?

The less nesting the better. It's jist so hard to read dee...

Some Useful JavaScript String Methods You May Not Know About

Thanks for catching that. I'll fix this.

Using Events in Node.js

Thanks for much for reading!

Some Useful JavaScript String Methods You May Not Know About

Thanks so much for reading!

What does everyone plan to learn in web development this year?

That sounds good. Looks like it's something worth looking i...

What does everyone plan to learn in web development this year?

Rails is nice. Its inspired many other frameworks because i...

What does everyone plan to learn in web development this year?

Thanks. Looks like it's worth a try.

What does everyone plan to learn in web development this year?

I am looking deeper into JavaScript and popular frameworks....

What does everyone plan to learn in web development this year?

Anything specific you're looking into?

Some Things About JSON That You May Have Missed

Thanks. That's a good catch.

TypeScript Data Types - Null, Void, Undefined, Never and Object

void is undefined, so I think it's already been used.

Introducing JavaScript Arrow Functions

The benefit of arrow functions is that you don't have to wo...

Introduction to JavaScript Promises and Async Programming

Thanks so much for reading.

Introduction to JavaScript Promises and Async Programming

Thanks so much for reading.

Some Things About JSON That You May Have Missed

Yea. Then we don't have to passing a mapping function every...

Some Things About JSON That You May Have Missed

Thanks for finding that. That's a method that most people ...

What was your win this past week?

Posting stuff on this site is my win.

Introduction to JavaScript Event Handlers

Bubbling will go from child to parent and capturing is the ...

Introduction to JavaScript Event Handlers

Thanks so much for reading!

Create Web Components with Vue.js

Thanks so much for reading. As long as the env variable st...

Introduction to DOM Manipulation

Thanks so much. I am many articles waiting to be posted in ...

Introduction to DOM Manipulation

Thanks very much for reading.

Introduction to DOM Manipulation

Thanks so much for reading.

loading...