malinajs
turbo
Our great sponsors
malinajs | turbo | |
---|---|---|
2 | 84 | |
1,013 | 3,830 | |
1.5% | 2.1% | |
9.2 | 8.5 | |
8 days ago | 5 days ago | |
JavaScript | TypeScript | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
malinajs
-
Electron Adventures: Episode 68: Malina Hex Editor
The other difference is one of many bugs in Malina I discovered. We'd like to do {:else} , but HTML entities do not work properly in Malina in if/else blocks.
-
What are the best alternatives to Svelte?
I think SolidJS or Vue is a correct answer, also https://github.com/malinajs/malinajs is very similar to Svelte, but differs in how it handles reactivity if I remember correctly. Anyway, I would like to offer a different one.
turbo
-
Browser extension fix! (After Github made changes to rendering)
They instead switched to turbo.
-
Best way to deal with sorted data in a stream
So far the best way I found is to use a Stimulus controller as described in this post by DHH https://github.com/hotwired/turbo/issues/109
-
RVTWS: a Ruby stack for modern web apps
On to the frontend! Turbo is part of Hotwire, which now ships with Rails. Turbo makes it really easy to give server-rendered pages a snappy SPA feel, where parts of the page are updated instantly instead of a full page reload.
- Does Rails use AJAX by default?
-
My project: railstart app
Based on Rails 7 and hotwired turbo and stimulus
-
Frontend Madness: SPAs, MPAs, PWAs, Decoupled, Hybrid, Monolithic, Libraries, Frameworks! WTF for your PHP backend?
According to its creator, “Stimulus.js is a JavaScript framework with modest ambitions. It doesn’t seek to take over your entire frontend—in fact, it’s not concerned with rendering HTML at all. Instead, it’s designed to augment your HTML with just enough behavior to make it shine. Stimulus pairs beautifully with Turbo to provide a complete solution for fast, compelling applications with a minimal amount of effort.
-
The balance has shifted away from SPAs
Thanks for the link, it is an interesting and obvious way to have clearer conversations.
Multiple types have a recommendation to use "turbolinks-style transitions", which was new to me. So I did some research, and it's basically another take on "just render html, and let a framework take care of AJAX-ifying it". I've seen some attempts at this before, like the UpdatePanel's from ASP.Net Web Forms back in the 2000's.
It looks like Turbolinks itself is defunct, but has been superseded by Turbo (https://github.com/hotwired/turbo), and I only see chatter in Rails communities. It also looks like there are some other alternatives.
Are people actually using "turbolinks-style transitions"? And if so, what are you using how is it working out for you?
-
Custom Turbo Stream Actions
So I was wondering how one would go about creating custom turbo stream actions. From how DHH (the original creator of Rails) has discussed turbo streams, it is unlikely that turbo will support more actions, there is a pending PR but not much has moved.
-
Hotwired Modals
We can use Hotwire -- specifically, Stimulus and Turbo -- to create some modals that present a nice, dynamic user experience. And they can do this while staying in a mutli-page app structure that Rails is so good at.
-
PHP isn't dead
Laughs in Turbo
What are some alternatives?
Turbolinks - Turbolinks makes navigating your web application faster
htmx - </> htmx - high power tools for HTML
hotwire-rails - Use Hotwire in your Ruby on Rails app
morphdom - Fast and lightweight DOM diffing/patching (no virtual DOM needed)
turbo-rails - Use Turbo in your Ruby on Rails app
stimulus_reflex - Build reactive applications with the Rails tooling you already know and love.
Alpine.js - A rugged, minimal framework for composing JavaScript behavior in your markup.
stencil - A toolchain for building scalable, enterprise-ready component systems on top of TypeScript and Web Component standards. Stencil components can be distributed natively to React, Angular, Vue, and traditional web developers from a single, framework-agnostic codebase.
reactor - Phoenix LiveView but for Django
Stimulus - A modest JavaScript framework for the HTML you already have
hotwire-live-search
importmap-rails - Use ESM with importmap to manage modern JavaScript in Rails without transpiling or bundling.