@pepibumur We love https://t.co/GGwgyhI07Q
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
https://t.co/D05NtXZd3h
Could Crystal be the next Hyperstack implementation language??? Have a look at https://t.co/fT2UEqPeA7 for justification, and please up vote if you agree its a good idea!
@andrewmcodes@robzolkos@kobaltz 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.
@kobaltz@andrewmcodes@robzolkos I c! One goal of https://t.co/GGwgyhI07Q 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.
@kobaltz@andrewmcodes@robzolkos 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 https://t.co/GGwgyhqpgi
@MichaelAllar@Google People like it this way I think. For years we have defragging by using one language and one integrated full stack framework https://t.co/GGwgyhqpgi no new invention just existing pieces integrated. Works good for us.
Hyperstack v 1.0.alpha1.5 is out!
https://t.co/La6ju6YvyQ
major changes: Polymorphic Associations, Rails new and existing site installers and generators, and (if you like) no need for the `render` callback
plus other improvements, and plenty of bug fixes.
https://t.co/xrNvvChwDl
@JebediahElliott@heroku@reactjs@rails@createreactapp 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
@deaniusol @noelrap Woah? Rails is a great backend. React is a great front end. They work together. https://t.co/GGwgyhqpgi integrates them together and replaced JSX with an elegant ruby DSL.
@ohadlevy@ForemanProject have you heard of https://t.co/GGwgyhqpgi ? We also had a large rails app with complex UI, that we wanted to migrate to React. Hyperstack makes it sooo easy.