live
react-rails
Our great sponsors
live | react-rails | |
---|---|---|
17 | 20 | |
612 | 6,720 | |
- | 0.2% | |
3.8 | 8.6 | |
5 months ago | 3 months ago | |
Go | JavaScript | |
MIT License | Apache License 2.0 |
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.
live
-
How to Fetch a Turbo Stream
Looks like there are a couple of attempts but my google fu didn't really yield a winner.
https://github.com/while1malloc0/hotwire-go-example
if that's the case, there is definitely an opening on the market for such tech.
As someone who's been writing web apps since DHTML days, Livewire/Turbo feels like we've finally reached the future.
- Show HN: A Full-Stack Web Framework Written in Go
-
Spas Were a Mistake
I hate SPAs. I would never do another SPA again if it were up to me. It just adds too much mental context switching and overhead. I can develop fully server-side apps that are lighter, run faster, and at least 20% less development effort (I actually compared that for the same task: https://medium.com/@mustwin/is-react-fast-enough-bca6bef89a6). So why would I ever do an SPA again if it were up to me. I would use https://github.com/jfyne/live which is inspired by Phoenix LiveViews. This is my professional opinion having many years of experience in both kinds of web apps.
-
Show HN: LiveViewJS – TypeScript back end for LiveView Apps
I've been working on a Go implementation if you fancy trying it out
- What frontend libraries do exist in Go?
-
Looking for early feedback on my new Phoenix LiveView inspired project.
I built it because I love building highly interactive web pages, but the current state of JavaScript leaves me cold. I got really excited when I saw what Phoenix was doing with LiveView and thought I could see the light at the end of the tunnel. There are already a couple of projects also inspired by LiveView (GoLive, live), but I had my own vision that I wanted to realise.
-
Build hotwire applications using Go
Does anyone have an opinion or comparison of hotwire and this similar project? https://github.com/jfyne/live
-
jfyne/live - New release: Live Components. Go server side interactive web app components with no Javascript
Little interactions like menu clicks and animations and such aren't a good fit, but that is where you could use client side javascript. And Live provides hooks to help with this https://github.com/jfyne/live#hooks.
The javascript required by live (https://github.com/jfyne/live/tree/master/web) comes embedded with it, but is also available as an npm package (https://www.npmjs.com/package/@jfyne/live) if you have a more complicated need.
react-rails
-
Why there is no django-react or django-vue package like, for example, Rails has?
https://github.com/reactjs/react-rails here is the functionality and simplicity that I would be kind of looking for. The option for it to exist in Django ecosystem is not that outlandish and I wouldn’t be too ignorant of it having to make sense or not make sense to everyone :)
- React-Rails is a flexible tool to use React with Rails
-
Rails with Svelte or React/NextJs?
You can however use reactjs with rails, there is a gem for it https://github.com/reactjs/react-rails
-
React elements not showing up in Rails app?
I'd checkout https://github.com/reactjs/react-rails
-
How to use npm packages in rails?
I'm trying to use the Ace editor in my Ruby on Rails app, with majority of the view composed as React components. I'm using the react-rails gem and I'm not using flux at all.
-
Spas Were a Mistake
I feel like react-rails (https://github.com/reactjs/react-rails) is basically perfect for this. You just make the photo upload its own react component and render it as normal from your rails view. You basically encapsulate the small bit of complex state into a component and it doesn't infect the rest of your app with SPA.
-
Ruby on Rails - Comment realtime loading
Install react-rails gem by adding this to the Gemfile:
-
React and rails, to API or not..
I think the simplest solution is using react-rails gem so that you can do everything from a single application. Using the gem, the build will be similar to normal rails app also you can utilize the react power as well.
-
Some Confusion on Rails + React
At work we have a monolith that uses the react-rails gem. We use it like how you are describing. It's really easy and your component can be as small or big as you want.
What are some alternatives?
react-on-rails - Integration of React + Webpack + Rails + rails/webpacker including server-side rendering of React, enabling a better developer experience and faster client performance.
Stimulus - A modest JavaScript framework for the HTML you already have
hotwire-livereload - Live reload gem for Hotwire Rails apps.
inertia - Inertia.js lets you quickly build modern single-page React, Vue and Svelte apps using classic server-side routing and controllers.
hotwire-rails - Use Hotwire in your Ruby on Rails app
docker-rails-react-starter - A basic docker-compose, Rails and React / Webpack starter kit
inertia-laravel - The Laravel adapter for Inertia.js.
bud - The Full-Stack Web Framework for Go
ActiveAdmin Quill Editor - Quill Rich Text Editor for ActiveAdmin
lookbook - A UI development environment for Ruby on Rails apps ✨
Webpacker - Use Webpack to manage app-like JavaScript modules in Rails
sanity - Sanity Studio – Rapidly configure content workspaces powered by structured content