stimulus-rails
turbo-rails
stimulus-rails | turbo-rails | |
---|---|---|
11 | 48 | |
603 | 1,983 | |
1.3% | 1.4% | |
7.2 | 8.3 | |
4 months ago | about 23 hours ago | |
JavaScript | JavaScript | |
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.
stimulus-rails
-
Tech recruiters: I live and breathe this industry I know it like the back of my hand! šļø Iām sure DHH would agree with you too son š
https://github.com/hotwired/stimulus-rails I think you need to understand how rails works because it clearly says Iām right here buddy
-
Following stimulus-rails setup via import map, no such thing as hotwired/stimulus-loading
So I've been following the setup for https://github.com/hotwired/stimulus-rails with using the importmap, tried to get @hotwired/stimulus-loading pinned and its stating that it no longer exists...
-
Rails7, Choices.js, importmap-rails, stimulus-rails got "does not provide an export named default" error
Thanks! Now I learn 'named export' keyword... Could your show the code of named export? I searched but I don't find the one. I thinks this issue is what you say but I don't get it.
-
railstart-niceadmin support more features
- [stimulus-rails](https://github.com/hotwired/stimulus-rails)
-
railstart-niceadmin release now!Backend management system based on Bootstrap 5 and NiceAdmin and Rails 7
stimulus-rails
-
Disable-With Using StimulusJS
The tricky part of recreating the disable behavior is getting the interface to be as clean as the original. I actually opened a PR regarding a disable controller earlier this year, and the man himself said as much about the interface (I embarrassingly left the PR stale after getting swept up in my last semester of college).
-
Building a collapsible sidebar with Stimulus and Tailwind CSS
The Stimulus Handbook
-
StimulusJS - Controller inheritance using manually registered controllers & Sprockets
Have you checked out the stimulus-rails gem? It sounds like it will let you stop manually registering controllers, and use the normal ES6 import syntax for inheritance:
-
What is hotwire with RoR?
Run `hotwire:install Hotwire also has the following resources available: Hotwired Turbo Rails Hotwired Stimulus-rails
-
Stimulus not autoloading controllers
There's an open issue about it: https://github.com/hotwired/stimulus-rails/issues/15
turbo-rails
-
Can't get Rails 7 turbo_stream_from to update view from broadcast
The install notes here link to an issue specific to webpacker. Try that and see if it works?
-
Strong reasons to pick htmx, over hotwire?
True, in theory it is. A lot of it is coded in libraries like turbo-rails, though. And these are Rails-specific. But I've seen it being used in some Laravel projects, also I used it with Hanami.
-
Rails 7 - Turbo Frame and Turbo Stream
Check out https://github.com/hotwired/turbo-rails/blob/main/app/models/turbo/streams/tag_builder.rb
-
Use turbo_streams to update the client in real time from inside a loop?
So apart from the pretty obvious question of "why on earth would you want to do this?", I think there's a misunderstanding here of the intended use case of turbo streams. You have a page, and then some state changes on the server and you want to update the page to reflect that. Incrementing a variable doesn't really qualify as a state change, but perhaps a Product changing from "not good" to "good" would be an event worth broadcasting, which you could do using the Broadcastable concern in turbo-rails.
-
Where do I start for learning "HTML over the wire"
Use this too: https://github.com/hotwired/turbo-rails
-
Using ViewComponents with Turbo
Not mentioned in the article, but it's nice that turbo-rails recently gained the ability to pass ViewComponent objects directly to turbo stream helpers. https://github.com/hotwired/turbo-rails/pull/433
- is turbo and stimulus compatible with rails 4 ?
-
Turbo-Rails just got better
Release notes: https://github.com/hotwired/turbo-rails/releases/tag/v1.4.0
-
Live Visit Count for website or page. ActionCable, Turbo Broadcasts, Kredis
turbo/streams_channel.rb - a way to link a turbo stream with an ActionCable channel.
-
We're breaking up with JavaScript front ends
The readme seems to give a pretty good overview of turbo: https://github.com/hotwired/turbo-rails
What are some alternatives?
dotenv - A Ruby gem to load environment variables from `.env`.
Stimulus - A modest JavaScript framework for the HTML you already have
Chart.js - Simple HTML5 Charts using the <canvas> tag
hotwire-rails - Use Hotwire in your Ruby on Rails app
icons - Official open source SVG icon library for Bootstrap.
Turbolinks - Turbolinks makes navigating your web application faster
Bootstrap - The most popular HTML, CSS, and JavaScript framework for developing responsive, mobile first projects on the web.
Webpacker - Use Webpack to manage app-like JavaScript modules in Rails
Tailwind CSS - A utility-first CSS framework for rapid UI development.
hotwire-tabs
Capistrano - A deployment automation tool built on Ruby, Rake, and SSH.
webpack - A bundler for javascript and friends. Packs many modules into a few bundled assets. Code Splitting allows for loading parts of the application on demand. Through "loaders", modules can be CommonJs, AMD, ES6 modules, CSS, Images, JSON, Coffeescript, LESS, ... and your custom stuff.