🚀 Decorators (JavaScript) Decorators are a feature that allows you to add metadata or modify the behavior of classes, methods, properties, or parameters in a declarative way. They use the `@` symbol followed by a function name. Decorators can be used for various purposes, such as logging, validation, dependency injection, and more. Decorators are currently a stage 2 proposal for ECMAScript, so their syntax and behavior might evolve in the future. #JavaScript #WebDev #Frontend #JS #professional #career #development
JavaScript Decorators Explained
More Relevant Posts
-
🔥 Day 1/30 — Master CSS Animations Starting a 30-day series where I break down the best CSS animations every developer should know. Day 1: Neon Text Glow ⚡ No frameworks. No shortcuts. Just pure CSS. HTML <div class="preview-wrapper"> <h1 class="neon-text" data-text="NEON">NEON</h1> </div> If you’re serious about frontend, this series will push your UI skills to the next level. Follow the journey. #CSSAnimation #Frontend #WebDevelopment #ReactJS #UIDesign #LearnInPublic
To view or add a comment, sign in
-
Capturing a Website as an Image Isn’t Simple Until you actually try to build it. What looks simple quickly turns into a real engineering challenge: • Styles don’t match • Fonts break • Performance drops • Layout Break Even popular libraries don’t fully solve the problem. 💡 One better approach: Instead of capturing the full DOM, export charts as images and build the report separately. It gives more control, better performance, and cleaner results — but also adds complexity. That’s the reality of frontend engineering: Simple features are rarely simple. . . . . . #frontend #reactjs #javascript #js #nextjs #webdevlopment #webdev #webapps #dashboard #reports Have you faced something like this?
To view or add a comment, sign in
-
A visual guide on React component useEffect lifecycle. How components mount and re-render in React and their relation with the useEffect hook is one of the most important concepts in React. To summarize, 1. When first-time components are inserted in the DOM, they're referred to as "mounted," then updated via rendering, and later "unmounted." 2. While mounting, a component initializes. 3. In the render stage, a virtual DOM gets created and compared, and in the commit stage, it gets painted to the browser. 4. Any effect gets executed during the commit. If the state changes, the component re-renders with vDOM creation during rendering, painting, and attaching to real DOM during the commit phase. Would you be interested in learning React/JavaScript with visuals and to-the-point explanations of how things work under the hood? I do a deep dive into foundational concepts & how things work under the hood. You can consider connecting with or following me, Ali Raza, to get along with the journey. Thanks. #react #javascript #frontend
To view or add a comment, sign in
-
𝗧𝗵𝗮𝘁 𝗲𝘅𝘁𝗿𝗮 <𝗱𝗶𝘃> 𝗰𝗼𝗺𝗲𝘀 𝘄𝗶𝘁𝗵 𝗮 𝗰𝗼𝘀𝘁 𝗪𝗵𝗮𝘁 𝗵𝗮𝗽𝗽𝗲𝗻𝘀 𝘄𝗵𝗲𝗻 𝘄𝗲 𝘂𝘀𝗲 <𝗱𝗶𝘃> 𝗶𝗻𝘀𝘁𝗲𝗮𝗱 𝗼𝗳 <> </>? <𝗱𝗶𝘃></𝗱𝗶𝘃> creates a real DOM element. <> </> doesn’t render anything in the DOM. That means: • 𝗠𝗼𝗿𝗲 𝗺𝗲𝗺𝗼𝗿𝘆 𝘂𝘀𝗮𝗴𝗲 • 𝗠𝗼𝗿𝗲 𝘄𝗼𝗿𝗸 𝗳𝗼𝗿 𝗯𝗿𝗼𝘄𝘀𝗲𝗿 𝗿𝗲𝗻𝗱𝗲𝗿𝗶𝗻𝗴 𝗮𝗻𝗱 𝗹𝗮𝘆𝗼𝘂𝘁 • 𝗛𝗮𝗿𝗱𝗲𝗿 𝘁𝗼 𝗱𝗲𝗯𝘂𝗴 𝗮𝗻𝗱 𝗶𝗻𝘀𝗽𝗲𝗰𝘁 Fragment avoids all of that by keeping the DOM clean. div is still needed for styling, layout, events, refs, CSS targeting. Are there other differences? #reactjs #javascript #frontend #webdevelopment
To view or add a comment, sign in
-
-
🎨 My Frontend & Design Stack These are the technologies I use to build everything you see on screen. The visual layer, the interactions, and the structure of every app I create. 🌐 HTML5 — The skeleton of every webpage. Semantic structure that makes sites accessible and SEO-friendly. 🎨 CSS3 — The styling engine. Controls layout, spacing, colors and animations to make UIs look polished. ⚡ JavaScript — The brain of every interactive experience. Logic, events, and dynamic content. 🔷 TypeScript — JavaScript with strong typing. Catches bugs early and makes code more reliable. ⚛️ React.js — My core UI library. Reusable components and state management on every frontend I build. ▲ Next.js — The full-stack React framework. Fast, SEO-friendly, and production-ready out of the box. 💨 Tailwind CSS — Utility-first styling I use on every single project. Clean, fast and fully responsive. 🎬 Framer Motion — Smooth animations and micro-interactions that make UIs feel alive. Which of these do you use? Drop it below 👇 #MansurbCodes #Frontend #WebDevelopment #ReactJS #NextJS #JavaScript #TypeScript #TailwindCSS #FramerMotion #WebDesign #PakistaniDeveloper #Coding #LearnToCode
To view or add a comment, sign in
-
-
💡 How do you implement dark mode in your projects? I recently built a simple dark/light mode toggle using CSS variables and JavaScript in my portfolio. In this carousel, I’m sharing the exact steps I used. Sometimes, small features like this make a huge difference in user experience. 🔗 Check out my portfolio here: https://lnkd.in/d5PJ_nj8 Curious to know 👇 How do you handle theming in your projects? #WebDevelopment #JavaScript #CSS #Frontend #UIUX #DevCommunity #Jameskamz
To view or add a comment, sign in
-
Stop letting your accordion snap. Here's how to build a smooth, animated accordion with Tailwind CSS that works in pure HTML, React, and Next.js — with black & orange styling that actually looks good. 🧡🖤 From FAQ sections to mobile nav menus, this component is one you'll use in every project. Read the full guide (with copy-paste code) on 👇 🔗 hamidrazadev.com #tailwindcss #reactjs #nextjs #frontenddevelopment #webdev #javascript #uidesign #cssanimation #webdeveloper #frontenddev #tailwindcomponents #developertips #learntocode #reactcomponents #hamidrazadev
To view or add a comment, sign in
-
-
🔥 Built a Rotating Border Button in React & CSS! Just created this satisfying animated button effect using only React + CSS — no external library needed. The trick? CSS @property --angle with conic-gradient to animate a rotating glowing border. Click it and the speed kicks up! ⚡ ✅ Pure React & CSS ✅ @property CSS custom property trick ✅ Glow blur effect on hover & click ✅ Reusable component — drop it anywhere Source code on my GitHub 👇 🔗 github.com/developerimamhn If you're a frontend dev, this one's worth bookmarking. #React #CSS #FrontendDevelopment #WebDevelopment #UIDesign #CSSAnimation #ReactJS #JavaScript #WebDesign #FrontendDev #DeveloperImam
To view or add a comment, sign in
-
Exploring 3D on the web — implemented a scroll-based interaction where elements respond dynamically to user movement. Built using JavaScript, Three.js, and Sketchfab integration to create a smooth and interactive experience. Check it out: https://lnkd.in/geSieFS8 #WebDevelopment #ThreeJS #JavaScript #FrontendDevelopment #3DWeb #CreativeCoding #UIUX”
To view or add a comment, sign in
-
I've been experimenting with custom route transitions to make navigating between pages feel a bit more native and alive. To build this, I used Next.js and next-transition-router to handle the actual page rendering logic, custom SVGs for the wave layers, and GSAP to animate the sweeps. Getting the animations to sync perfectly with the route changes took a bit of fine-tuning, but the final result makes the whole site feel much more cohesive. I've opened up the source code for anyone who wants to check it out. You're welcome to refer to the logic or just copy the setup straight into your own builds: https://lnkd.in/gM7GDChZ #nextjs #gsap #frontenddevelopment #webdevelopment #reactjs #uiengineering #webanimation #javascript #frontend #css #softwareengineering
To view or add a comment, sign in
More from this author
Explore content categories
- Career
- Productivity
- Finance
- Soft Skills & Emotional Intelligence
- Project Management
- Education
- Technology
- Leadership
- Ecommerce
- User Experience
- Recruitment & HR
- Customer Experience
- Real Estate
- Marketing
- Sales
- Retail & Merchandising
- Science
- Supply Chain Management
- Future Of Work
- Consulting
- Writing
- Economics
- Artificial Intelligence
- Employee Experience
- Workplace Trends
- Fundraising
- Networking
- Corporate Social Responsibility
- Negotiation
- Communication
- Engineering
- Hospitality & Tourism
- Business Strategy
- Change Management
- Organizational Culture
- Design
- Innovation
- Event Planning
- Training & Development