Learn JavaScript™
Kanalga Telegram’da o‘tish
All info, tutorial, JS tips and more ....! bio.link/javascript_js_ For HTML: @html_web_learn For CSS: @CSS_web_learn For JS: @JavaScript_js_learn For PHP: @learn_php_web For Programming courses @Programmingworld_dev For CEH,Cybersec: @technical_stark
Ko'proq ko'rsatish4 411
Obunachilar
-124 soatlar
Ma'lumot yo'q7 kun
-330 kun
Postlar arxiv
4 411
Inovatik offers a lot of free HTML/CSS templates you can use for your projects.
Link: https://inovatik.com/
4 411
React Tip 💡
If your component renders the same result given the same props, try wrapping it in React.memo to make them "pure".
This will prevent them from re-rendering, except when their props are changing.
It can potentially give you a great performance boost 🔥
#Javascripttip #ReactTip
4 411
JavaScript Tip 💡
You can set timers using console.time.
This can be useful when debugging slow loops or function calls.
#Javascripttip
4 411
JavaScript Tip 💡
By using function composition, you can compose functions for different purposes.
In this case, we're using one function to create different "setter" functions for updating state in React.
#Javascripttip #Reacttip
4 411
JavaScrip Tip 💡
Avoid unnecessary async-await.
If the function returns a Promise directly, there's no need to await it. #Javascripttip
4 411
JavaScript Tip 💡
The Object.freeze() method freezes an object.
A frozen object can no longer be changed and will result in an error. #Javascripttip
4 411
✨5 JavaScript Animation Libraries Every Web Developer Should Know✨
1. Swiper
Swiper is the most modern free mobile touch slider with hardware accelerated transitions and amazing native behavior. It is intended to be used in mobile websites, mobile web apps, and mobile native/hybrid apps.
(https://swiperjs.com/)
2. GreenSock
The GreenSock Animation Platform (GSAP for short) is a powerful JavaScript library that enables front-end developers and designers to create robust timeline based animations.
(https://greensock.com/)
3. Three.js
Three.js is a cross-browser JavaScript library and application programming interface used to create and display animated 3D computer graphics in a web browser using WebGL.
(https://threejs.org/)
4. AOS Library
AOS - Animate on scroll library. It has no other dependencies, which helps to keep your website's performance under control.
(https://github.com/michalsnik/aos)
5. Splide
Splide is a lightweight, powerful and flexible slider and carousel, written in pure JavaScript without any dependencies.
(https://splidejs.com/)
4 411
JavaScript Tip 💡
Use proper variable names - also in callbacks!
Short, concise code is not necessarily an ideal.
Clarity and readability is.
Paying with an extra line is perfectly ok. #Javascripttip
4 411
JavaScript Tip 💡
Did you know that you can use the Broadcast Channel API to do basic communication between browser tabs, windows, and iframes?
It's pretty simple 🙌 #Javascripttip
4 411
JavaScript Tip 💡
Did you know that you can create your own custom HTML Elements using JavaScript - and then use them in your HTML file just like any other element?
You can create some pretty powerful experiences using this technique. #Javascripttip
4 411
POPULAR WEB DEVELOPMENT STACKS
• MERN
- MongoDB, Express, React, NodeJs
• MEAN
- MongoDB, Express, Angular, NodeJs
• MEVN
- MongoDB, Express, Vue, NodeJs
• LAMP
- Linux, Apache, MySQL, PHP
• LEMP
- Linux, Nginx, MySQL, PHP
4 411
JavaScript Tip 💡
The nullish coalescing operator will return its right-hand operand when the left side is *null* or *undefined*. Not just falsy.
When working with numbers, this is typically very useful. #Javascripttip
4 411
Quokka.js is a developer productivity tool for rapid JavaScript / TypeScript prototyping. Runtime values are updated and displayed in your IDE next to your code, as you type.
Official Website: https://quokkajs.com/
GitHub-Repository:
https://github.com/wallabyjs/quokka
