Glimmer Next screenshot

Glimmer Next

Author Avatar Theme by Lifeart
Updated: 15 Jan 2026
33 Stars

GXT is `glimmer-vm` runtime alternative, only 7kb gzipped

Categories

Overview

gNext is a cutting-edge, compilable runtime environment designed as a glimmer-vm experiment. It showcases the power and flexibility of modern web component development. gNext serves as a practical and interactive example of how Glimmer-VM can be used in real-world applications, providing developers with a seamless development experience.

Features

  • Simple and Expressive Component Model: Every component in gNext is a function, executed only once for efficiency and better performance. Class-based components are also supported.
  • Basic Glint Support: Integration with Glint for improved TypeScript support and developer experience.
  • Comprehensive Slot Support: Full support for different kinds of slots, including {{/yield/}}, enhancing the flexibility in component composition.
  • Modifiers and Helpers APIs: Provides modifiers for element-specific logic and helpers for reusable logic across components.
  • Template Imports: Import templates from other files, enabling better code organization and reusability.
  • Template Compilation: Compile templates to JavaScript functions for improved performance and efficiency.
  • Opcodes tree-shaking: Opcodes tree-shaking for smaller bundle size by excluding unused DOM and component, flow-control opcodes.
  • Reactive Primitives: Allows the use of cell<T> for creating reactive, mutable states. Supports derived states with formula, enabling responsive UIs. Includes support for destructors for clean-up and resource management.

Installation

To install gNext, follow these steps:

  1. Open your terminal.
  2. Navigate to your project directory.
  3. Run the following command to install gNext:
npm install gnext

Summary

gNext is a powerful tool for web developers who want to leverage the capabilities of Glimmer-VM in real-world applications. It offers efficient DOM rendering, reactive state management, enhanced developer experience, flexible component composition, and resource management. With gNext, developers can build modern, efficient, and reactive web applications using Glimmer-VM. Whether they are working on dynamic user interfaces, complex single-page applications, or experimenting with new front-end technologies, gNext provides the necessary tools and capabilities.