ZjsComponent: A Pragmatic Approach to Modular, Reusable UI Fragments for Web Development
2025/05/04 by Lelanthran Manickum, Manickum, Lelanthran · 10 voices
Computer Science · #Component (thermodynamics) #Component Object Model #Isolation (microbiology) #JavaScript #Mobile and Web Applications #Object (grammar) #Object-oriented programming #Rich Internet application #Simple (philosophy) #User interface #Web Applications and Data Management #Web Data Mining and Analysis #Web application
paper · pdf · doi:10.48550/arxiv.2506.11016
openalex publication_date 2025/05/04 · openalex created_date 2025/10/11 · openalex updated_date 2026/08/05
Abstract
In this paper, I present ZjsComponent, a lightweight and framework-agnostic web component designed for creating modular, reusable UI elements with minimal developer overhead. ZjsComponent is an example implementation of an approach to creating components and object instances that can be used purely from HTML. Unlike traditional approaches to components, the approach implemented by ZjsComponent does not require build-steps, transpiling, pre-compilation, any specific ecosystem or any other dependency. All that is required is that the browser can load and execute Javascript as needed by Web Components. ZjsComponent allows dynamic loading and isolation of HTML+JS fragments, offering developers a simple way to build reusable interfaces with ease. This approach is dependency-free, provides significant DOM and code isolation, and supports simple lifecycle hooks as well as traditional methods expected of an instance of a class.
Discussions
- ZjsComponent: A Pragmatic Approach to Reusable UI Fragments for Web Development [hn, 77 points, 59 comments]
- ZjsComponent: A Pragmatic Approach to Reusable UI Fragments for Web Development https://arxiv.org/abs/2506.11016 (https://news.ycombinator.com/item?id=44290315) [bsky, 0 points, 0 comments]
- ZjsComponent: A Pragmatic Approach to Reusable UI Fragments for Web Development [bsky, 0 points, 0 comments]
- ZjsComponent: A Pragmatic Approach to Reusable UI Fragments for Web Development #HackerNews https://arxiv.org/abs/2506.11016 [bsky, 0 points, 0 comments]
- ZjsComponent: A Pragmatic Approach to Reusable UI Fragments for Web Development https://arxiv.org/abs/2506.11016 [bsky, 0 points, 0 comments]
- ZjsComponent: A Pragmatic Approach to Reusable UI Fragments for Web Development https://arxiv.org/abs/2506.11016 (https://news.ycombinator.com/item?id=44290315) [bsky, 0 points, 0 comments]
- ⚡ Hackernews Top story: ZjsComponent: A Pragmatic Approach to Reusable UI Fragments for Web Development [bsky, 0 points, 0 comments]
- https://bsky.app/profile/news.ycombinator.com.web.brid.gy/post/3lrqic3hwa542 [bsky, 0 points, 0 comments]
- https://arxiv.org/abs/2506.11016 ZjsComponentは、Web開発のためのモジュール式で再利用可能なUIフラグメントへの実用的なアプローチを提案します。 この論文では、UIコンポーネントの設計と実装に関する新しい手法を紹介しています。 Web開発の効率と保守性を向上させることを目的としています。 [bsky, 0 points, 0 comments]
- ZjsComponent: A Pragmatic Approach to Reusable UI Fragments for Web Development View Article | Join the HN Conversation Summary of HN discussion 🧵👇 #hacker-news [bsky, 0 points, 1 comments]
Related