Web Development Code
6.34K subscribers
389 photos
55 videos
132 files
201 links
قناة خاصه بتطوير الويب
ونشر مشاريع الويب
وكل مايخص الويب
الادمن : @Noureldin13
#Html
#Css
#Bootstrap
#JavaScript
#ReactJs
#Php
#NodeJs
#Mysql
#MongoDB
Buy ads: https://telega.io/c/codedevelopment

جروب المناقشة :
@codedevchat
Download Telegram
HTTP Methods.
This media is not supported in your browser
VIEW IN TELEGRAM
شرح ازاي الرساله بتوصل من شخص لشخص زي الواتساب ببساطه.

الدحيح.
must-know tips for writing clean code with Javascript.

👇👇
https://dev.to/alexomeyer/8-must-know-tips-for-writing-clean-code-with-javascript-i4
سؤال جافاسكربت.
عندي الكود ده طبعا عارفين ان setTimeout غير متزامنه فكان الناتج
Two
One
طيب السؤال بقي خلي يطبع one اول وبعدين two شرط يكون ال setTimeout موجود بداخلها
console.log("one")
العرض ساري لفتره محدود 😹😹😹😹😹
مين اسرع في انشاء مشروع ب React js
Anonymous Poll
62%
create-react-app
38%
create-vite
Web Development Code
مين اسرع في انشاء مشروع ب React js
قبل متجاوبوا جربوا استخدام الاتنين وشوف الاسرع لو مش عارف تستخدم ال vite قولوا وهنزلكم الطريقة.
This media is not supported in your browser
VIEW IN TELEGRAM
طريقة انشاء بروجكت React باستخدام vite تابع الفيديو.
Clean Code in TypeScript
https://link.medium.com/L75XLIEDYub
20+ React Libraries to Jumpstart your Next Project:-


1. General Utilities:-

The npm packages in this category are just packages that are helpful so few specific tasks and you may eventually need them. The packages in this include:

- moment.js — very good for working with dates
- Axios — good for handling async tasks
- React-hot-toast, React-toastify — handling small notifications and toasts
- react-icons,” @mui”/icons-material For icons
- react-paginate — For pagination
- React-share — Share things Socially
- React-slick, react-responsive-carousel — For Carousel
- clsx — For conditional classes
- react-intersection-observer — For intersection
- react-dropzone — For file upload and drag and drop.

2. Animation:-

Bringing animation to your site just makes it more fun and pleasant for your viewers. That being said, the packages under animation include:

- GSAP
- Framer motion
- React-spring
- Anime.js

3. State Management:-

Sometimes the data in your React.js application can be very difficult to manage effectively and the React content API isn’t just good enough. That being said, the packages under state management include:

- Redux
- Redux Toolkit — my personal favourite
- Recoil
- Mobx
- React Context — not recommended for big projects

4. server-side rendering:-

if you are building a highly optimized robust website you will need an SSR framework because they make routing easier, they fetch data on the server and return to the component, they optimize images so it doesn’t bottleneck performance, and much more. That being said, the packages under server-side rendering include:

- Next.js
- Gatsby.js — for only SSG (static site generation)
- Remix
Web Development Code
Photo
ما هي TypeScript ؟

الـ TypeScript عبارة عن supersite فائقة javascript

هل TypeScript هو نفسه Javascript ؟
نعم ولا. تم إنشاء TypeScript بواسطة Microsoft وتم إنشاؤه كـ built on في Javascript باختصار ، إنه مماثل لـ Javascript ولكن مع features إضافية و كل ما تعرفه وتعلمته من Javascript سيكون مفيدًا في الدخول الي TypeScript.

أي واحد يجب أن أتعلمه أولاً؟
أنت تتعلم Javascript أولاً بشكل نهائي ثم TypeScript إذا كنت لا تعرف Javascript معرفة جيدة ، فستجد صعوبة في تعلم وفهم TypeScript.

لماذا نتعلم TypeScript !

عندما يبدأ الأشخاص في استخدام JavaScript في التطبيقات المعقدة ، فإنهم يدركون بسرعة أن JavaScript أصبحت صعبة في العمل من حيث OOP وذلك يرجع لطريقة عمل اللغة و يصعب العثور على بعض bugs لذلك تم تطوير TypeScript بواسطة Microsoft لسد هذه الفجوة.

الذي يضيفه TypeScript بالضبط إلى JavaScript هو :

Powerful type system

Type error checking at development time

Better Object-Oriented Programming

New features like Interfaces, Generics, etc.

Meta-programming like Decorators

Compile to javascript that can run on an older browser

Code Auto-completion in the editor

لا يعمل TypeScript في المتصفح أو مع node.js مثل Javascript للتنفيذ ، يحتاج TypeScript إلى compile إلى Javascript.

يتضمن استخدام TypeScript استخدام compiler على سبيل المثال ، إذا كان لديك اسم ملف app.ts ، فسيقوم compiler الـ TypeScript بإنشاء app.js. سيتم استخدام هذا واحد لتشغيل التطبيق الخاص بك.

لهذا السبب نقول أن TypeScript تساعد فيdevelopment time.

كيفية install واستخدام برنامج TypeScript

$ npm install -g typecript

لتنفيذ Compiler

$ tsc app.js

أو watch mode

$ tsc app.js -w
سيعد الـ TypeScript تلقائيًا و Compiler لـ app.ts اليapp.js عند كل Save .