1.0.0-alpha.1 • Published 3 years ago

@glide.js/core v1.0.0-alpha.1

Weekly downloads
-
License
MIT
Repository
-
Last release
3 years ago

Building Websites is Difficult

On the modern web, building websites is difficult. You've likely used a complex web framework which claimed to offer "everything you need for web development" and in reality required hundreds of third-party plugins just to start working, and brand new syntaxes and concepts to learn.

Glide isn't like that. Glide really does feature everything you need - built-in electron support, PWA support, routing, and more - to accelerate your development experience. Glide only uses two concepts - templates and controllers - to create fast web apps.

Why Choose Glide?

As mentioned above, Glide has many advantages over its competitors.

Speed

Other frameworks out there - such as react and vue - use the virtual DOM for rendering. You might not know how the virtual DOM works on the inside, so here's a quick summary.

  • Go through EVERY SINGLE element on the page, one by one.
  • Check all of its attributes, events, text, child elements, and tag name to try and detect a change.
  • 90% of all of these elements are exactly the same, but sometimes one has changed.
  • Change that element's attribute, event, text, child element, or tag name.
  • Repeat when one single variable changes.

As you can tell, this process is very slow. It's actually slower than the old jQuery apps written before react, where DOM manipulation was more complicated.

Glide avoids all this trouble by avoiding the virtual DOM completely. Glide knows which areas need to be changed when a specific variable is changed, and only updates them without trying every element in the component.

Ease of Use

Other frameworks force you to learn new, unnecessary technologies - such as JSX or TypeScript. Although TypeScript is optional with Glide, we don't force you to learn anything new. All you need is HTML and JavaScript.