Is it a function? Use a verb!
handleThat()
goToThatRoute()
doThatOtherThing()
Is it a boolean?
const isUserAuthenticated = true
const hasAccessRights = false
const isFunctionAllowed = true
Is it a number?
const valueOfProduct = 10
const greaterThanOrherValue = 23
const ageOfTheUser = 31
Is it a string?
Express the string into the variable name:
const userAuthenticationMessage = "You must be authenticated in order to see this screen"
const errorFetchRequestMessage = "We are sorry! There was an error our side".
Learn a topic daily
This is the page where I can share a topic daily from any programming language and their frameworks
18/04/2022
HTML Tip โก
Prevent content from being pasted in HTML editable element. using "onpaste" HTML event. It is mostly used to prevent users from pasting passwords in forms.
17/04/2022
๐๐ ๐ฏ๐๐ซ๐ฒ ๐ฉ๐ซ๐จ๐ฆ๐ข๐ฌ๐ข๐ง๐ ๐๐ฉ๐๐ง ๐๐จ๐ฎ๐ซ๐๐ ๐๐ซ๐จ๐ฃ๐๐๐ญ๐ฌ ๐ฒ๐จ๐ฎ ๐ก๐๐ฏ๐๐งโ๐ญ ๐ก๐๐๐ซ๐ ๐จ๐!
๐ญ)๐ง๐๐ ๐๐จ๐๐ (70.2k โญ)
The F**k is a magnificent app, that corrects errors in previous console commands.
Link: https://lnkd.in/eNkQp_vR
๐ฎ)๐ฃ๐๐ฅ๐ง๐ฌ๐ง๐ข๐ช๐ก (7.2K โญ)
Partytown is a lazy-loaded library to help relocate resource-intensive scripts into a web worker, and off of the main thread. Its goal is to help speed up sites by dedicating the main thread to your code and offloading third-party scripts to a web worker.
Link: https://lnkd.in/ey5U6ZMY
๐ฏ)๐ง๐ฅ๐ฃ๐ (5k โญ)
tRPC allows you to easily build & consume fully typesafe APIs, without schemas or code generation.
Link: https://lnkd.in/ekvFAf54
๐ฐ)๐ ๐ฎ๐ป๐๐ถ๐ป๐ฒ (10k โญ)
Build fully functional accessible web applications faster than ever โ Mantine includes more than 120 customizable components and hooks to cover you in any situation.
Link: https://lnkd.in/e_krNrMd
๐ฑ)๐๐๐๐ก๐ข ๐๐ฆ (3.3k โญ)
Danfo.js is a javascript package that provides fast, flexible, and expressive data structures designed to make working with "relational" or "labeled" data both easy and intuitive. It is heavily inspired by Pandas library.
Link: https://lnkd.in/eghGYyUK
๐ฒ)๐ฆ๐จ๐ฃ๐๐ฅ๐ง๐ข๐๐๐ก๐ฆ (5.7K โญ)
Add secure login and session management to your apps. SDKs are available for popular languages and front-end frameworks.
Link: https://lnkd.in/eew-fPDB
๐ณ)๐ ๐๐๐๐๐ฆ๐๐๐ฅ๐๐ (26Kโญ )
It is a powerful, fast, open-source, easy to use, and deploy search engine. Both searching and indexing are highly customizable. Features such as typo-tolerance, filters, and synonyms are provided out-of-the-box.
Link: https://lnkd.in/e5Qegs5M
๐ด) ๐ก๐ข๐๐ข๐๐ (26.1kโญ )
The Open Source Airtable Alternative, Turns any MySQL, PostgreSQL, SQL Server, SQLite & MariaDB into a smart spreadsheet.
Link: https://lnkd.in/eApNrX8v
๐ต)๐๐ข๐ฃ๐ฃ๐ฆ๐๐ข๐ง๐๐ (42.6K โญ)
It is a lightweight, web-based API development suite. It was built from the ground up with ease of use and accessibility in mind providing all the functionality needed for API developers with minimalist, unobtrusive UI.
Link: https://lnkd.in/eN4-svmQ
๐ญ๐ฌ)๐๐ ๐ฃ๐๐๐๐๐ง๐๐ข๐ก (7K โญ)
Amplication is an openโsource development tool. It helps professional Node.js developers develop quality Node.js applications without spending time on repetitive coding tasks.
LINK: https://lnkd.in/enFWVFtK
Some of the best free open-source alternatives of the paid application in the market.
GitHub - nvbn/thef**k: Magnificent app which corrects your previous console command. Magnificent app which corrects your previous console command. - GitHub - nvbn/thef**k: Magnificent app which corrects your previous console command.
15/04/2022
Javascript Tips๐ก
FOR LOOP VS FOR-OF LOOP
If you just need to iterate through data items of an iterable (also if you need to apply some changes maybe) for-of is an obvious choice.
08/04/2022
๐ก ๐๐๐๐๐๐๐ ๐๐ ๐น๐๐๐๐๐๐๐๐๐! ๐ก
๐ท๐๐๐ ๐๐ ๐ ๐๐๐๐๐ ๐๐ก๐๐๐๐๐๐๐๐๐ ๐๐๐ ๐๐๐๐ ๐๐ ๐๐๐ ๐๐๐๐๐๐๐๐๐ ๐๐๐๐๐๐ ๐๐๐๐๐๐๐. ๐๐๐ ๐๐๐๐ ๐๐๐ ๐๐๐๐๐๐๐ข ๐๐๐๐๐๐๐๐๐๐๐๐ ๐ ๐๐๐๐๐ ๐๐๐ ๐๐ก๐๐๐๐๐ ๐๐๐๐๐ .
โ ๐๐๐ ๐ฌ๐ฅ๐ข๐๐() ๐๐๐๐๐๐ ๐๐ก๐๐๐๐๐๐ ๐ ๐๐๐๐๐๐๐ ๐๐ ๐ ๐๐๐๐๐๐ ๐๐๐ ๐๐๐๐๐๐๐ ๐๐ ๐๐ ๐ ๐๐๐ ๐๐๐๐๐๐, ๐ ๐๐๐๐๐๐ ๐๐๐๐๐๐ข๐๐๐ ๐๐๐ ๐๐๐๐๐๐๐๐ ๐๐๐๐๐๐.
โ ๐๐๐ ๐ฌ๐ฎ๐๐ฌ๐ญ๐ซ๐ข๐ง๐ () ๐๐๐๐๐๐ ๐๐๐๐๐๐๐ ๐๐๐ ๐๐๐๐ ๐๐ ๐๐๐ ๐๐๐๐๐๐ ๐๐๐๐ ๐๐๐ ๐๐๐ ๐๐๐๐๐ ๐๐๐ ๐๐๐ ๐๐๐๐๐ก๐๐, ๐๐ ๐๐ ๐๐๐ ๐๐๐ ๐๐ ๐๐๐ ๐๐๐๐๐๐.
โ ๐๐๐ ๐ฌ๐ฎ๐๐ฌ๐ญ๐ซ() ๐๐๐๐๐๐ ๐๐๐๐๐๐๐ ๐ ๐๐๐๐๐๐๐ ๐๐ ๐๐๐ ๐๐๐๐๐๐, ๐๐๐๐๐๐๐๐ ๐๐ ๐๐๐ ๐๐๐๐๐๐๐๐๐ ๐๐๐๐๐ก ๐๐๐ ๐๐ก๐๐๐๐๐๐๐ ๐๐๐ ๐ ๐๐๐๐๐ ๐๐๐๐๐๐ ๐๐ ๐๐๐๐๐๐๐๐๐๐ ๐๐๐๐๐๐ ๐๐๐๐.
โ ๐๐๐ ๐ซ๐๐ฉ๐ฅ๐๐๐() ๐๐๐๐๐๐ ๐๐๐๐๐๐๐ ๐ ๐๐๐ ๐๐๐๐๐๐ ๐ ๐๐๐ ๐๐๐๐ ๐๐ ๐๐๐ ๐๐๐๐๐๐๐ ๐๐ ๐ ๐๐๐๐๐๐๐ ๐๐๐๐๐๐๐๐ ๐๐ข ๐ ๐๐๐๐๐๐๐๐๐๐๐. ๐๐๐ ๐๐๐๐๐๐๐ ๐๐๐ ๐๐ ๐ ๐๐๐๐๐๐ ๐๐ ๐ ๐๐๐๐ด๐ก๐, ๐๐๐ ๐๐๐ ๐๐๐๐๐๐๐๐๐๐๐ ๐๐๐ ๐๐ ๐ ๐๐๐๐๐๐ ๐๐ ๐ ๐๐๐๐๐๐๐๐ ๐๐ ๐๐ ๐๐๐๐๐๐ ๐๐๐ ๐๐๐๐ ๐๐๐๐๐. ๐ธ๐ ๐๐๐๐๐๐๐ ๐๐ ๐ ๐๐๐๐๐๐, ๐๐๐๐ข ๐๐๐ ๐๐๐๐๐ ๐๐๐๐๐๐๐๐๐๐ ๐ ๐๐๐ ๐๐ ๐๐๐๐๐๐๐๐. ๐๐๐ ๐๐๐๐๐๐๐๐ ๐๐๐๐๐๐ ๐๐ ๐๐๐๐ ๐๐๐๐๐๐๐๐๐.
โ ๐๐๐ ๐ฉ๐๐๐๐ญ๐๐ซ๐ญ() ๐๐๐๐๐๐ ๐๐๐๐ ๐๐๐ ๐๐๐๐๐๐๐ ๐๐๐๐๐๐ ๐ ๐๐๐ ๐๐๐๐๐๐๐ ๐๐๐๐๐๐ (๐๐๐๐๐๐๐๐ ๐๐๐๐๐, ๐๐ ๐๐๐๐๐๐) ๐๐๐๐๐ ๐๐๐ ๐๐๐๐๐๐๐๐๐ ๐๐๐๐๐๐ ๐๐๐๐๐๐๐ ๐๐๐ ๐๐๐๐๐ ๐๐๐๐๐๐. ๐๐๐ ๐๐๐๐๐๐๐ ๐๐ ๐๐๐๐๐๐๐ ๐๐๐๐ ๐๐๐ ๐๐๐๐๐ ๐๐ ๐๐๐ ๐๐๐๐๐๐๐ ๐๐๐๐๐๐.
โ ๐๐๐ ๐ฉ๐๐๐๐ง๐() ๐๐๐๐๐๐ ๐๐๐๐ ๐๐๐ ๐๐๐๐๐๐๐ ๐๐๐๐๐๐ ๐ ๐๐๐ ๐ ๐๐๐๐๐ ๐๐๐๐๐๐ (๐๐๐๐๐๐๐๐, ๐๐ ๐๐๐๐๐๐) ๐๐ ๐๐๐๐ ๐๐๐ ๐๐๐๐๐๐๐๐๐ ๐๐๐๐๐๐ ๐๐๐๐๐๐๐ ๐ ๐๐๐๐๐ ๐๐๐๐๐๐. ๐๐๐ ๐๐๐๐๐๐๐ ๐๐ ๐๐๐๐๐๐๐ ๐๐๐๐ ๐๐๐ ๐๐๐ ๐๐ ๐๐๐ ๐๐๐๐๐๐๐ ๐๐๐๐๐๐.
07/04/2022
๐ต ๐๐๐๐ ๐๐ข๐ฉ: ๐ต
๐๐จ๐ฎ ๐๐๐ง ๐ฎ๐ฌ๐ ๐๐๐๐จ๐๐ข๐ง๐ ๐๐ฌ๐ฒ๐ง๐ ๐๐ญ๐ญ๐ซ๐ข๐๐ฎ๐ญ๐ ๐ญ๐จ ๐ข๐ฆ๐ฉ๐ซ๐จ๐ฏ๐ ๐ญ๐ก๐ ๐ฉ๐๐ซ๐๐จ๐ซ๐ฆ๐๐ง๐๐.
The decoding="async" attribute will tell the browser that it is OK for image decoding to be done at a later moment so that the browser can continue displaying content even if the images are not fully loaded.
๐๐ก๐๐ซ๐ ๐๐ซ๐ ๐ ๐๐๐๐๐ฉ๐ญ๐๐ ๐ฏ๐๐ฅ๐ฎ๐๐ฌ ๐๐จ๐ซ ๐ญ๐ก๐ ๐๐๐๐จ๐๐ข๐ง๐ ๐๐ญ๐ญ๐ซ๐ข๐๐ฎ๐ญ๐:
1- ๐ฌ๐ฒ๐ง๐: the rendering will continue only after the image is ready; preferred for a "complete experience".
2- ๐๐ฌ๐ฒ๐ง๐: continue the rendering and as soon as image decoding is complete, the browser will update the presentation; preferred
for performance.
3- ๐๐ฎ๐ญ๐จ: will let the browser do what it determines is best approach (not sure who it decides that)
06/04/2022
Web 1.0 vs Web 2.0 vs Web 3.0
05/04/2022
Do you know about :is() in CSS?
It's pretty handy!
Learn more: https://lnkd.in/gk3vVZNF
Browser support: https://lnkd.in/gT2RsRqB
04/04/2022
Flex Align Content ๐
29/03/2022
JavaScript Tip: Short Circuit Operator
Short circuit operator (&&) always return something. If left side is truthy then do the stuff of right side and return it otherwise returns the left side itself.
So, never use something which return a value in the left side of short circuit operator.
In the first example, whenever it gets falsy value it doesn't go to the right side but return the 0 from left side. What if you use that operator in jsx? It'll return value (0) in Jsx and show 0 in specific HTML Section).
How can we avoid this?
Always use boolean on the left side of the short circuit operator. Whenever it gets falsy value it return false and doesn't affect on Jsx.
Thanks
27/03/2022
Complete Guidelines for those who want to join FAANG or master class companies...!
Website: https://www.techinterviewhandbook.org/
26/03/2022
JSON doesn't support comments.
So here's how I comment npm scripts in package.json. ๐
Click here to claim your Sponsored Listing.
Location
Category
Contact the school
Telephone
Address
Dhaka
1216