Web Development CS JS Python JavaScript Hacking ReactJs Python django Flask CSS Frontend Backend Full Stack Java Node Pdf Books
3.99K subscribers
878 photos
11 videos
995 files
354 links
One place for the latest in JavaScript, Python, Django, React, and more. Get top-notch tutorials, tips, and downloadable resources. Join us to elevate your tech skills!
Download Telegram
Imagine you’re building a React app.

How do you decide between these two options:

1. Traditional SPA
2. React Server Components (RSC)

SPA benefits:

βœ… Proven and mature.
βœ… Lets us use more of the React ecosystem of third party libraries.
βœ… Simple. Easy to understand.
βœ… Cheaper and easier to host.

RSC benefits:

βœ… Likely renders the first page faster.
βœ… Likely saves bandwidth (each RSC adds zero K to bundle).
βœ… Use heavy libraries solely on the server to save bandwidth
βœ… Requires less code for data fetching (may even call the DB directly instead of hitting an API).

Given these tradeoffs, if we already have a REST/GraphQL API, or we want cheap, simple hosting, I lean toward SPA.

If we don’t have a web API, or performance is critical, I lean toward RSC.
😁2
10 Reliable websites for finding remote jobs that pay in USD salaries.

1. wellfound. com
2. remote. com
3. freelancer. in
4. flexjobs. com
5. remoteok. com
6. justremote. co
7. himalayas. app
8. tryremotely. com
9. workingnomads. com
10. Weworkremotely. com

@javascript_resources
πŸ‘2πŸ‘1
Coding is not meant for the weak

It's meant for one with passion

It's meant for one who can endure failures

It's meant for one who feels he/she doesn't understand any programming language and wants to dig deep.

It's meant for one who can deal with bugs

It's meant for you.

#motivation
@javascript_resources
❀4
If I had to start learning web development in 2024, I would follow this flow:

🌐 HTML
🎨 CSS styling and layout
πŸ’‘ JavaScript fundamentals
βš™οΈ Document Object Model (DOM)
πŸ“¦ Git and GitHub
🧰 Command Line
πŸ–ΌοΈ Responsive Web Design
🎯 JavaScript functions
πŸŒ† Front-end frameworks (React, Angular, or Vue)
πŸ”— AJAX and data fetching
πŸ“ Form handling and validation
🌌 Asynchronous JavaScript (Promises, async/await)
πŸ“„ Working with JSON
πŸ›οΈ Backend development
βš™οΈ Server-Side Rendering
πŸ—„οΈ Databases (SQL and NoSQL)
πŸ” Web security and best practices
πŸ”§ API Integration
πŸš€ Hosting and deployment
πŸ“Š SEO
🚧 Test Driven Development
🧩 Content Management Systems
πŸ’Ό Build websites

@javascript_resources
❀1
React Interview Question's Answer

What is JSX, and how does it differ from regular JavaScript and HTML?

- What is JSX?

JSX (JavaScript XML) is a syntax extension for JavaScript, often associated with React, a popular JavaScript library for building user interfaces.
JSX allows you to write HTML-like code within your JavaScript files, making it easier to define and render UI components in a more declarative way.

- Differences from Regular JavaScript:

1. Mixing HTML and JavaScript:
In JSX, you can seamlessly mix HTML-like elements with JavaScript expressions.
This allows you to dynamically generate content based on data or component state.
In regular JavaScript, you'd need to concatenate strings or use other methods to achieve the same result, which can be more cumbersome.

2. Component Rendering:

JSX is closely tied to React components.
You define the structure of your UI using JSX elements, and React takes care of rendering these components into the DOM.
In contrast, regular JavaScript doesn't provide a built-in way to create reusable UI components.
This is how to deal with imposter Syndrome πŸ‘‡

-Acknowledge achievements: Recognize success.
-Positive affirmations: Boost confidence
-Seek support: Share feelings
Realistic goals: Break tasks down.
-Celebrate progress: Acknowledge victories
-Continuous learning: Embrace growth.

#motivation

@javascript_resources
5 Commonly Used Units of Measurement in CSS:

1. Pixels (px)
2. Percentages (%)
3. Rem
4. Em
5. Viewport units (vw, vh)

@javascript_resources
πŸ‘3
MERN Stack Developer Roadmap 2024:

Step 1: 🌐 Master Web Basics
Step 2: πŸ–₯ HTML/CSS Proficiency
Step 3: ✨ Deep Dive into JavaScript
Step 4: πŸ—‚ Version Control with Git
Step 5: 🐍 Node.js for Server-Side
Step 6: πŸ—ƒ Express.js for Routing
Step 7: πŸ“¦ NPM for Package Management
Step 8: πŸ“š MongoDB for Databases
Step 9: 🌟 React.js for Frontend
Step 10: πŸ” Implement Security (JWT)
Step 11: πŸš€ App Deployment (Heroku, Netlify)
Step 12: 🐳 Docker Basics
Step 13: ☁️ Explore Cloud Services
Step 14: πŸ”„ CI/CD with GitHub Actions
Step 15: πŸ§ͺ Testing with Jest
Step 16: πŸ“œ API Documentation
Step 17: πŸ“’ Build a Portfolio
Step 18: πŸ’Ό Resume Crafting
Step 19: πŸ›‘ Interview Preparation
Step 20: πŸ” Job Hunting Strategy
πŸ”₯5πŸ‘2
⚑️parseInt()
and
⚑️Number()

both converts string to number however there is a big difference between both

⚑️ parseInt() reads the string from left to right & stops parsing when it encounters a non-numeric character.

It returns the numeric value parsed up to that point.

example: parseInt("19abc") -> returns 19

⚑️Number() is more strict.

If the string contains any non-numeric characters (except for whitespace), it returns NaN

example: Number(123abc) -> returns NaN

⚑️Also if string is in float then Number() will return float number but parseInt() will only return integer.

example:
parseInt("6.9") -> returns 6 only
Number("18.5") -> returns 18.5

This makes a big impact especially when you are handling data that can have string values as well attached to the number.

In that case use parseInt() other wise use Number().

@javascript_resources #javascript