Elentra JS Documentation
2.0
2.0
  • Introduction
  • Why Elentra JS 2.0?
    • Dedicated Repository
    • TypeScript
    • Class-Based Components
    • Vue Standard Routing
    • Organizational Theming
    • Yarn Package Manager
  • Developers
    • Getting Started
    • Setup Guide
      • Install Requirements
      • Clone the Repository
      • Environment Variables
      • Install Dependencies
      • Serve Dev Mode
  • Design System
    • Overview
    • Component Library
      • Directory Structure
      • Components
    • Style Library
      • Directory Structure
      • How it Works
        • Variables
        • Mixins
        • Utility Classes
        • Elements
        • Legacy Styles
        • Shim
    • Taxonomy
      • UI Taxonomy
      • UX Taxonomy
      • Variable & Utility Class Naming Convention
Powered by GitBook
On this page
  1. Why Elentra JS 2.0?

TypeScript

PreviousDedicated RepositoryNextClass-Based Components

Last updated 5 years ago

Elentra JS 2.0 is written primarily in , which is a superset of JavaScript that provides numerous useful features, including but not limited to static typing, classes, and interfaces. The static typing that TypeScript provides ensures that many potential run-time errors are detected, discovered, and highlighted right in the developer's IDE as they work, allowing them to fix them right away. TypeScript is developed by Microsoft and as such it is very well documented and supported, and will be for years to come. The well-established nature of the language, as well as its popularity with developers have generated a large array of resources and documentation online, making it easy to pick up and learn.

Our switch to TypeScript grants us the ability to explicitly define the typing for the data we work with in our front-end framework, and have on-the-fly automated processes ensure we are adhering to those expectations. This will streamline the quality assurance process and result in more easily understandable, higher quality code, which in turn greatly reduces technical debt.

TypeScript