official_dulin

official_dulin @mrdulin

About: I'm Full Stack Developer, Electrical Engineer and Perfectionist.

Location:
Shanghai
Joined:
Sep 2, 2018

official_dulin
articles - 15 total

Why Material UI table component prop can violates w3c html element nesting rules?

The <Table/> component has a component prop: The component used for the root node. Either a...

Learn More 0 0Aug 6 '24

Is there any way to monitor micro task and macro task queue?

I am looking for a way to monitor/visualize the JavaScript micro task and macro task queue like this...

Learn More 0 1Aug 16 '23

Pick and large interface V.S. small interface. Which one is better?

When I use the option 1 to make my business types(T0, T1, etc...), I found I repeated...

Learn More 2 2Nov 29 '22

Should the useState hook verify that the lazy initial state function must be synchronous

By now, you can pass asynchronous function to the ReactJS useState hook to lazy initialize the state....

Learn More 0 0Oct 13 '22

Is it a bad design to remove the setState callback?

When we use React class component, there is a instance method setState(updater[,...

Learn More 2 2Aug 4 '22

Use TypeScript interface extends and type composition semantically

Consider below example, you have an API which accepts three parameters: current, pageSize and...

Learn More 7 0Jul 6 '22

How to prevent other team member installing new npm package?

Requirements: Only the project owner can install new npm package. npm install should work for...

Learn More 0 6Jun 24 '22

Should event handlers be named using business actions or UI events?

This problem is not specific to a framework, But I demonstrate questions in React. Example 1....

Learn More 5 4Mar 4 '22

How would you name the TS interface like this(TS types naming convention)?

For the API /v1/users, the data shape of the user is: { id: 1, name: 'teresa teng' } ...

Learn More 7 6Feb 23 '22

When I create a post, how to automatically complete the tag metadata?

The current situation is that I don't know what tags are available at all unless I check from tags. I...

Learn More 3 5Sep 18 '21

React & Redux Application Architecture

Architecture based on React Hooks and React FC design: View layer React functional...

Learn More 12 0Aug 5 '21

New Button for dev.to, mark article read.

A tampermonkey script for marking article read on dev.to. Use IndexedDB to store your read list in...

Learn More 3 0Apr 22 '21

Why are there duplicate subscription emails sent to me?

As you can see, the subjects of the subscription email are the same, and the contents are almost th...

Learn More 3 3Dec 21 '20

Is there any way to mark a post has been read?

Do not use the three buttons of heart, unicorn, and saved. I want to know if this article has been...

Learn More 0 1Dec 21 '20

Is there any place I can let others review my Go code?

Especially concurrency-related code, because they are difficult to test, although you can use go test...

Learn More 10 1Sep 9 '20