= react.js for ruby and much more. All of react's features with a beautiful ruby DSL

Joined December 2015
sure ignore is probably too strong a word. My analogy is just leaky abstraction perhaps :-)
Like boats, all abstractions are leaky. I would rather be bailing a leaky boat, than swimming all the way. Of course the less a boat leaks, the better. Coding standards are kind of like automatic electric bailing pumps. If you use them, you can pretty much ignore the leaks.
Replying to @pepicrft
We love hyperstack.org Why? 1. Write your components in Ruby instead of jsx 2. Directly access your AR models from your components 3. Setup in one command 4. Works well with new and existing apps 5. 1/4 the lines of code needed 6. Use react libs m.youtube.com/watch?v=GEe7hH…
Keep in mind doc is lagging, if u find any glitches please let us know!
1
Performance is tricky. HS components are initially rendered on server, then continue to update on the client. A lot of thought was put into making sure that as much work was off loaded from the server to the client, especially when doing pushes of active record updates.
1
Exactly the same with hs components.
1
I c! One goal of hyperstack.org has always been compatibility with rails & working within rails, even on complex brownfield sites. Upgrading from 4 to 5 and soon 6 has not been an issue. This is true of lots of other gems not part of rails but key to the eco system.
Hey sorry but I don’t get it. We’ve been doing this for years, with pure ruby (no erb or other templates) with less code, easier to understand logic, and better user experience . Can anyone explain why this is better than hyperstack.org
2
Replying to @fkchang2000
I’m so sorry. He must have been a great guy to have such a great son.
1
1
People like it this way I think. For years we have defragging by using one language and one integrated full stack framework hyperstack.org no new invention just existing pieces integrated. Works good for us.
1
Replying to @JebediahElliott
per my previous reply, this should work fine with rails API only. need any further info feel free to DM me
Try hyper-spec fully integrated isomorphic rspecs. hyperstack.org
Create an erb file in the rails side. It can be the app/assets/javascript dir i.e myvar.js.erb Use erb to capture the env var as a js global, add that js file to your requires in application.js
1
Replying to @DeanDevDad @noelrap
Woah? Rails is a great backend. React is a great front end. They work together. hyperstack.org integrates them together and replaced JSX with an elegant ruby DSL.
have you heard of hyperstack.org ? We also had a large rails app with complex UI, that we wanted to migrate to React. Hyperstack makes it sooo easy.