GoodMODULE (@goodmodule) profile picture

Be a better web developer and follow @goodmodule

Joined August 2016
I tried @cloudflare hyperdrive with google cloud postgres today. Pros 1. Speed was great (~20ms) Cons 1. It stopped working after a few hours (check image) 2. You need to allow public access to your DB 3. You can not use SSL certificates yet Result No production ready
2
239
I really like nullish coalescing operator (??). It is much more better choice for default values in the comparison to logical OR (||) operator. Are you using it in your project as well? #javascript #typescript #react #vuejs
7
12
Which language will you use for your next project? JavaScript or TypeScript. Comment below. I am really interested. #TypeScript #JavaScript #es6
1
1
2
How to simply parse query string in JavaScript? Use URLSearchParams. Are you using standard methods or some NPM packages like qs? #javascript #es6 #reactjs #vuejs #angular #npm #nodejs #goodmodule
2
5
18
Hi my developers. I have a big announcement. Can you decrypt it ? . . . '733367803671717483' .match(/..?/g) .map((item, index) => { const character = Number(item) - index; return String.fromCharCode(character); }) .join(''); . . #javascript #angular #reactjs
2
2
1
7
Here is my contribution to Open Source in last few years on GitHub :) This year I am very busy because I have a lot of things to do for example my wedding is coming in two months :) github.com/seeden #github #opensource #javascript #nodejs #reactjs #work
4
Few tips how to get the timestamp in JavaScript. Which one do you prefer? #javascript #timestamp #css #html #vuejs #reactjs
9
25
Do you like async/await? Use my latest package fast-wait as alternative for standard setTimeout. It is much faster for "setTimeout(..., 0)" Here is simple example with benchmark. npmjs.com/package/fast-wait #javascript #es6 #npm #package #react #vuejs
1
15
20
Some of you wanted to know more about my ESLint config. I am using Airbnb ESLint config. Here is how my ".eslintrc.js" looks like. #eslint #airbnb #javascript @geteslint
3
The world is divided between spaces and tabs. I am using spaces in JavaScript because I am using Airbnb eslint config. What do you prefer in your project? #eslint #javascript #graph #reactjs #vuejs
4
8
What will be the output when the following code is executed? #javascript #riddle #react #vuejs
5
2
6