DEV Community

blackr1234 profile picture

blackr1234

404 bio not found

Location Hong Kong Joined Joined onΒ  github website

Work

Web Developer at Hong Kong

All 60 comments

Twelve-Factor Application: Configuration in Spring

To be honest, I feel that using Spring Cloud Config is a litt...

Mac OS for the Web!

This works too!

Mac OS for the Web!

To OP: See this for GitHub's official guide about removing se...

Mac OS for the Web!

Btw, awesome work. It really feels like macOS and is also run...

Mac OS for the Web!

Yes, toFixed() is the JS way to round a Number and obtain a s...

Mac OS for the Web!

One quick question. As there are only two apps available at t...

Dev.to as a headless CMS

Oh yes, this is it. I know this term but forgot it, thanks a ...

Dev.to as a headless CMS

I just wanted people be able to read contents for the MVP. ...

πŸ”₯ πŸ”₯ πŸ”₯ Do you know all these means to avoid repeated rendering of React components?

I use memo for all function components but I always provide t...

Simplest way to compare two numbers array in JS

If order matters, don't sort them before converting to string...

How fast is your code?

Nice to know there is such feature. Thanks!

Simplest way to compare two numbers array in JS

I won't consider that a "hack" because as a Java developer I ...

Open Source: Rewriting git history(amend/rebase)

Oh I see, nano has a different interface, with keyboard short...

TOP 10 VsCode Extensions for web developers

I have been using Prettier which is a must-have to me. I have...

Be careful Of This Java Optional Method

Great article for reminding Java developers! If the argument ...

Open Source: Rewriting git history(amend/rebase)

I don't quite understand the "Ctrl+o and exit with Ctrl+x" pa...

TOP 10 VsCode Extensions for web developers

Very useful article, thanks for sharing! 🍻

You should stop using `parseInt()`

If you are referring to checking if the string contains funct...

You should stop using `parseInt()`

It will be an overkill. There are so many working ways of par...

You should stop using `parseInt()`

However, end users being able to use console to execute any c...

Why to use Maps over Objects in JS ?

May I ask some questions which may seem silly: Q1a: Why are ...

What is Throttling and Debouncing in JavaScript and how it works?

I like the examples given in this article. However, I think t...

10 reasons why nobody is reading your articles and how to fix it

Why am I seeing this article on DEV? I expect to see somethin...

OOP is Ruff!

Exactly, sometimes has-a is better than is-a, especially for ...

Kadane's Algorithm (Maximum Sum Subarray Problem)

Does this imply recursion? How is this better than the brute ...

Kadane's Algorithm (Maximum Sum Subarray Problem)

I understand the brute force solution but don't quite get the...

You don’t need React for building websites

The lack of pros and cons of React and vanilla JS, strong arg...

What is Vue.JS? and Why you should learn and use it.

What matters most to most developers is that the library work...

What is Vue.JS? and Why you should learn and use it.

That's BS excuses saying something more popular got popular b...

What is Vue.JS? and Why you should learn and use it.

A long list of directives and new syntax using : and @ are ex...

What is Vue.JS? and Why you should learn and use it.

I think React is much more easier to learn and use.

🧐Most Confusing Part Of JavaScript.

Agree, I think I have never needed to use this with React Hoo...

Abstracting with react hooks on LSD

What is LSD? Sorry I don't understand the article title.

Free hosting using Heroku

Heroku is really easy to register, setup and get the results....

GraphQL - Why you should be using it in 2021.

If you are using Java Spring Boot you could take a look at co...

How to implement copy and paste in a web application

Both writeText and readText methods are returning Promise obj...

5 Visual Studio Code Hacks That You Will Thank Me For (And They're Not Common Points Like "Install Prettier Extension")

I think, without this option, ctrl+scroll will just scroll up...

Modern Full-Stack Developer Tech Stack 2021

Still prefer using Java + Spring for the back-end haha~

JSON web tokens are NOT meant for authenticating the same user repeatedly: Use session tokens instead

You don't have to add a version number as one of the JWT clai...

Github or Git?

Pornhub and porn <-- that's true. πŸ˜‚πŸ˜‚

Why You Should Not Learn React, Angular or Vue as a Beginner in Front-End Web Development .

So you're suggesting newbies to learn everything on your list...

Using refs to check if a component is still mounted.

This is a useful article too, thanks for the reference.

Using refs to check if a component is still mounted.

I'm wondering why not an empty array too.

Do you still use Lodash and Underscore in 2020?

I still use Lodash in my personal React project, such as unio...

Tricky JavaScript Questions

Very useful questions that help me revise my JavaScript knowl...

The Problem of Centralized State in Web Applications

Nice article, what about the solution to the "problem"? I'd l...

Classes in JavaScript

Great and useful article! For me, I very seldom use JS class...

Javascript Libraries you should know in 2020 (Part 2)

Awesome! Thanks for sharing. I am so surprised when I see mrd...

Is it worth to use JQuery for beginner Javascript developers?

You can learn how DOM works with jQuery. jQuery is pretty eas...

SQL: Outer Joins

Great article. However, in the full outer join example, you...

From Javascript to Python

This is the equivalent of javascripts typeOf(). Should be ...

Start your app the right way! Featuring React, styled-system, styled components and Typescript

npx create-react-app react-style guide --typescript Should...

All you wanted to know about CORS

Nice article, but I think you have a typo in the http proto...

How to easily render multiple elements in React

You don't need to write <React.Fragment>. Just wrap y...

loading...