DEV Community

loading...
Mark Lai profile picture

Mark Lai

404 bio not found

Joined Joined on  GitHub logo

All 23 comments

Webdev WTF

URLSearchParams Can definitely helps the query string problem...

A Dive Into React Hooks

I mean your last image is wrong the syntax should be setVa...

A Dive Into React Hooks

The setValue syntax still wrong setValue({text: 'Earth'})

A Dive Into React Hooks

Oops

A Dive Into React Hooks

that may work, but it will assign Earth to value first then s...

10+ Best CSS LOADER For Front-end Developers

you are talking about loading spinner with only CSS, not CSS ...

How to build bulletproof react components

That's what I meant to say When I was a junior react develope...

How to build bulletproof react components

you should use functional update when the new value is refere...

Learning React Hooks 1 useState

This post is just horribly wrong on setting state every Rea...

5 tips to improve your React and JS code

For the first Tip manually order the imports is tedious I'm...

How to push to a Git repo from a different account without config:

what if the account has 2FA enabled?

5 Ways to Write CSS Styles in React

I’ve been using css module for a long time But I started to...

Create a React hook to add dark theme to your app

there is a package called constate can help you simplify mo...

Show me your deployment

Serverless: serverless.com/

Show me your deployment

Serverless is one of the way to do it But personally I use ...

My React stack for 2019

Have you tried Ramda over Lodash? curry everything is so aw...

Don't Trust the Cascade - Why I write CSS in JavaScript

I agree with your reason But I don't think the solution is ...

How to access “this” from inside a callback

Sorry, this pattern is just worse, really worse Hope you wo...

How to access “this” from inside a callback

I use arrow function 100% of time I think that is much clea...

I used effects, said goodbye to my lifecycles, and feel 🙂

functional component is not as organized as a class compone...

I used effects, said goodbye to my lifecycles, and feel 🙂

Am I the only person think useEffect is cool but hard to re...

loading...