Tag

component

0 views collected around this technical thread.

Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Jan 25, 2025 · Frontend Development

Implementing a Draggable and Resizable Container Component in Vue

This article explains how to create a Vue component that supports both dragging and resizing by rendering CSS edges and corners, handling mouse events to track movement, calculating new dimensions, enforcing minimum sizes, and providing a complete template, script, and style implementation.

CSSJavaScriptVue
0 likes · 15 min read
Implementing a Draggable and Resizable Container Component in Vue
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Jan 7, 2025 · Frontend Development

The Evolution of Front-End Development: From Raw DOM to Vue.js

This article traces the evolution of front‑end development from raw DOM manipulation through jQuery to modern Vue.js, highlighting the philosophical ideas behind Vue’s design, code examples, and the benefits of component‑based, reactive frameworks for building maintainable web applications.

DOMReactiveVue.js
0 likes · 11 min read
The Evolution of Front-End Development: From Raw DOM to Vue.js
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Jan 5, 2025 · Frontend Development

Using JSX/TSX in Vue 3: Component Definition, Syntax, Props, Scoped CSS, and Slots

This article provides a comprehensive guide to using JSX/TSX in Vue 3, covering project setup, the defineComponent API, option and function syntax, data binding, event handling, slots, scoped CSS, and various approaches to defining and simplifying props with TypeScript.

JSXScoped CSSTSX
0 likes · 22 min read
Using JSX/TSX in Vue 3: Component Definition, Syntax, Props, Scoped CSS, and Slots
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Dec 12, 2024 · Frontend Development

Design and Implementation of a Conditional Filter Tree Component in Vue

This article details the design, data structure, and implementation of a reusable conditional filter tree component using Vue2 and Vue3, covering node addition, deletion, relationship handling, form validation, and provide/inject communication, along with code examples and discussion of challenges and future improvements.

Conditional FilterRecursive ComponentVue
0 likes · 29 min read
Design and Implementation of a Conditional Filter Tree Component in Vue
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Dec 10, 2024 · Frontend Development

Dynamic Ring Chart Component with Vue 3 and Canvas

This article explains how to build a reusable Vue 3 component that draws customizable ring charts on a canvas, using TypeScript, props for size, stroke width, and a ratio list to render multiple colored arcs dynamically.

Data VisualizationRing ChartTypeScript
0 likes · 9 min read
Dynamic Ring Chart Component with Vue 3 and Canvas
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Oct 18, 2024 · Frontend Development

Comprehensive Guide to Vue Component Writing Styles: Options API, Composition API, Setup Syntax Sugar, Render Functions, and JSX

This article systematically introduces the many ways to write Vue components—including the classic Options API, the modern Composition API with setup syntax sugar, hand‑written render functions using h or createVNode, and various JSX techniques—explaining their principles, code examples, and when to choose each approach.

JSXJavaScriptRender Function
0 likes · 19 min read
Comprehensive Guide to Vue Component Writing Styles: Options API, Composition API, Setup Syntax Sugar, Render Functions, and JSX
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Sep 23, 2024 · Frontend Development

Advanced Vue 3 Component Encapsulation: v-model, Slot Passing, and Ref Access

This article demonstrates how to create a reusable Vue 3 component with Vite and Element‑Plus, covering two‑way data binding via v‑model, slot forwarding using the h function, and exposing child component refs through a Proxy, complete with code examples and explanations.

ProxyVuecomponent
0 likes · 7 min read
Advanced Vue 3 Component Encapsulation: v-model, Slot Passing, and Ref Access
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Jul 31, 2024 · Frontend Development

Implementing a Custom Vue Calendar Component with Date Generation and Styling

This article explains how to create a reusable Vue calendar component by designing its data structure, generating a 7×6 date matrix, implementing navigation props and events, and applying customizable styles, providing complete code examples for template, script, and scoped CSS.

Date GenerationTypeScriptVue
0 likes · 16 min read
Implementing a Custom Vue Calendar Component with Date Generation and Styling
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Jul 9, 2024 · Frontend Development

Vue 3 Composition API: defineProps, defineEmits, defineExpose, defineOptions, and defineSlots – Detailed Guide and Usage Examples

This article provides a comprehensive overview of Vue 3's new composition API functions—defineProps, defineEmits, defineExpose, defineOptions, and defineSlots—explaining their purposes, basic usage, practical examples, and suitable scenarios, helping developers master component communication, reuse, and advanced configuration in modern frontend development.

Composition APITutorialVue3
0 likes · 13 min read
Vue 3 Composition API: defineProps, defineEmits, defineExpose, defineOptions, and defineSlots – Detailed Guide and Usage Examples
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
May 23, 2024 · Frontend Development

Forcing Vue Component Re‑render to Fix Scroll Height Issues

This article explains why a scrollable table component misbehaves when its height changes, analyzes the root cause in the internal scroll wrapper, and demonstrates practical ways to force a Vue component to re‑render using v‑if, dynamic keys, and zero‑delay timers, complete with code examples.

Force UpdateVuecomponent
0 likes · 7 min read
Forcing Vue Component Re‑render to Fix Scroll Height Issues
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Apr 23, 2024 · Backend Development

Understanding @Configuration vs @Component in Spring: Bean Creation and Proxies

This article explains the distinct roles of Spring's @Configuration and @Component annotations, demonstrates their behavior through code examples, compares bean initialization and proxy generation, and reveals how Spring's ConfigurationClassPostProcessor and related enhancers ensure singleton beans across method calls.

AnnotationsJavaSpring
0 likes · 9 min read
Understanding @Configuration vs @Component in Spring: Bean Creation and Proxies
Selected Java Interview Questions
Selected Java Interview Questions
Apr 18, 2024 · Backend Development

Understanding @Configuration vs @Component Bean Overriding in Spring Boot 2.0.3

This article explains why a Spring Boot 2.0.3 application creates two UserManager beans when both @Configuration + @Bean and @Component are used, how the container decides which instance is injected, and how newer Spring versions allow developers to control bean‑definition overriding via configuration.

Bean OverridingSpring Bootbackend development
0 likes · 8 min read
Understanding @Configuration vs @Component Bean Overriding in Spring Boot 2.0.3
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Feb 8, 2024 · Frontend Development

Encapsulating Forms and Tables in Vue 3 with Element‑Plus: Design and Implementation

This article demonstrates a comprehensive approach to building reusable form and table components in Vue 3 using Element‑Plus, covering the design rationale, code examples for services, dialogs, list pages, and utilities, and discusses the benefits for development efficiency, maintainability, and scalability.

Element-PlusTypeScriptVue3
0 likes · 24 min read
Encapsulating Forms and Tables in Vue 3 with Element‑Plus: Design and Implementation
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Oct 28, 2023 · Frontend Development

Implementing Entry Animations and Seamless Scrolling in a Vue 3 Big‑Screen Visualization Project

This article demonstrates how to add entry animations and implement seamless horizontal and vertical scrolling in a Vue 3‑based big‑screen visualization project using ECharts, Gaode map, Pinia, CSS keyframes, and the animejs library, with complete code examples and component packaging.

AnimejsCSS animationSeamless Scroll
0 likes · 11 min read
Implementing Entry Animations and Seamless Scrolling in a Vue 3 Big‑Screen Visualization Project
JD Tech
JD Tech
Oct 9, 2023 · Frontend Development

Design and Implementation of a Flexible H5 Navigation Bar Component for Mobile Applications

This article analyzes the limitations of native navigation bars on mobile pages, proposes a reusable H5 navigation‑bar component (@pango/navigation-bar) with performance, cost, and user‑experience benefits, details its architecture, configuration, code usage, exception handling, and adaptation for foldable screens, and outlines the open‑source plan.

Reactcomponentconfiguration
0 likes · 17 min read
Design and Implementation of a Flexible H5 Navigation Bar Component for Mobile Applications
DeWu Technology
DeWu Technology
Jul 26, 2023 · Backend Development

JSONCompareUtils: Full JSON Comparison Component for Automated Testing

JSONCompareUtils, a full‑JSON comparison component added to the Artemis framework, lets automated tests recursively compare large JSON responses via a Maven‑provided library with Java and Python wrappers, streamlining service‑splitting, BC‑traffic, and cross‑environment validation while dramatically cutting manual verification effort and speeding regression testing.

API comparisonJSONJava
0 likes · 9 min read
JSONCompareUtils: Full JSON Comparison Component for Automated Testing
JD Retail Technology
JD Retail Technology
Jul 24, 2023 · Frontend Development

XView Pop‑up Building and Deployment for JD 618 Promotion: Component‑Based Visual Design

The article explains how JD upgraded its XView platform from a simple H5 container to a component‑based visual builder that enables fast, precise, and stable creation and deployment of marketing pop‑ups for the 618 promotion, covering design, client integration, dynamic data binding, and animation optimization.

MarketingXViewcomponent
0 likes · 8 min read
XView Pop‑up Building and Deployment for JD 618 Promotion: Component‑Based Visual Design
Sohu Tech Products
Sohu Tech Products
Apr 12, 2023 · Frontend Development

Vue vs React: Programming Styles, View Syntax, Components, Routing, State Management, Reactivity and Lifecycle Comparison

This article provides a comprehensive technical comparison between Vue and React, covering their programming and view styles, component models, routing solutions, state‑management libraries, basic feature differences, reactivity mechanisms, lifecycle hooks and side‑effect handling, with illustrative code examples.

ReactReactivityRouting
0 likes · 15 min read
Vue vs React: Programming Styles, View Syntax, Components, Routing, State Management, Reactivity and Lifecycle Comparison
Bitu Technology
Bitu Technology
Apr 7, 2023 · Cloud Native

Managing Kubernetes Resource Manifests with Kustomize: Aggregation, Overlays, and Components

This article explains how Tubi’s engineering team uses Kustomize to simplify and scale Kubernetes Resource Manifest management by aggregating resources, applying patches, organizing bases and overlays, and leveraging reusable components to reduce duplication and improve maintainability across clusters and namespaces.

KubernetesKustomizeOverlay
0 likes · 15 min read
Managing Kubernetes Resource Manifests with Kustomize: Aggregation, Overlays, and Components
We-Design
We-Design
Mar 30, 2023 · Frontend Development

How to Implement Design Tokens in Figma and Sketch for Seamless Dev Collaboration

This article explains how to map design tokens—style, component, template, and file tokens—to appropriate carriers in Figma and Sketch, covering token categories, multi‑mode and multi‑business handling, component token strategies, property naming conventions, handoff methods, and version management.

FigmaSketchUI
0 likes · 20 min read
How to Implement Design Tokens in Figma and Sketch for Seamless Dev Collaboration