Mitch VanDuyn
Mitch VanDuyn
The HyperModel fetch serverop dumps a nice performance log to the rails log, however its at debug level. Add a config switch `warn_if_fetch_takes_longer_than` default 0.1 (?) If the time is...
Currently only understands Rails classic.
```ruby class Child include Hyperstack::Component param :do_something render do puts "child: @DoSomething.object_id" end end class Parent include Hyperstack::Component before_mount do @do_something = -> { puts "we...
This breaks with maximum call stack exceeded for example: evaluate_ruby "'Element[JS.call(:eval, "(function () { return window; })();")]'" because this returns a native js object, which cannot be processed by ruby's...
This is a nice standalone module that adds two class level methods to ActiveRecord Models, that will expose server side methods to the client as operations. Unlike `server_methods`, methods exposed...
Currently `Hyperstack.on_server?` returns false if you not on the rails server (i.e. on the console or on in a sidekiq worker). The system uses this to decide if it needs...
The Connection table AutoConfig keeps causing people problems. This should be done via a migration that is added by the installer. In the meantime you can easily turn off the...
its possible to get pretty messed up when changing between transports, if you have data left in the connection tables. Best to track which transport type is being used in...
This would make a good starting point for a chat tutorial and would offer a great comparison between pure rails and HS. https://iridakos.com/programming/2019/04/04/creating-chat-application-rails-websockets