Sponsored links
JavaScript/TypeScript

TypeScript Pick nested object

Pick type is useful to get types from an existing definition. But is it possible to get a type from a nested object Yes! It's possible to get a type by using brackets with the key.
JavaScript/TypeScript

TypeScript/JavaScript Bitwise Operations

Bit operation is not often used in JavaScript/TypeScript but there are some cases where we need to use it. I needed the ...
JavaScript/TypeScript

TypeScript/JavaScript Extract target keys from an object

A variable name can be too long to be referred to many times. If it is an object, the name to access one of the child va...
JavaScript/TypeScript

JavaScript/TypeScript Handling Surrogate Pairs

I needed to convert a string to ASCII code in my work. I didn't need to care about multi-byte characters but I wanted to...
JavaScript/TypeScript

Validate Json file with Json schema

Json file is widely used for many purposes. To consume the data, we somehow need to validate the json file. It is ok to ...
Dart and Flutter

Flutter Dropdown Button hint text and initial value

Dropdown is one of the common ways to let a user select an option from a list. Let's learn how to implement it in Flutte...
Dart and Flutter

Flutter Alert/Simple Dialog examples

When we want to tell a message to a user, showing the message on a dialog is one of the ways. Flutter offers the followi...
Dart and Flutter

Dart/Flutter Constructors tutorial with examples

Constructor is one of the basics to implement dart class. There are some features that I didn't know before writing this...
JavaScript/TypeScript

TypeScript Hack the original behavior

Dependency doesn't support what you want? Then, hacking the code might be the solution. This article tries to replace th...
Dart and Flutter

Flutter Riverpod Handling Future and dispose in StateNotifier

It took me a while to find out how to implement a Provider that uses FutureProvider in it and disposes of a variable cre...
Sponsored links