Tag: javascript
-
Adios Axios: Migrate from axios to ky
Since nodejs explode the community that extend function of javascript. Fetch is common function that used in many case in javascript, it’s used to do request to external resource (e.g API) and parse the response to desire format, like JSON or text. Axios Axios is the most popular library used in browser because long ago…
Written by
-
Async-Mutex: A JavaScript Library to Prevent Race Conditions
Race condition is where the system’s substantive behavior is dependent on the sequence or timing of other uncontrollable events, leading to unexpected or inconsistent results. Every engineer soon or later will face this situation, it’s so frustating when a data handled by more than 1 operation which lead unexpected or inconsistent results. This situation sometimes…
Written by