hyperstack
hyperstack copied to clipboard
Hyperstack ALPHA https://hyperstack.org
newer Opal versions do not automatically include the json library, which hyper_spec depends on (depends on Object#to_json) In most cases it doesn't matter since the json library will get included...
right now rendering_context boils all the children down to arrays of elements. Why? We should try to just return the child block to react as a function, and let react...
Probably the best place for this is in `HTML and Component DSL` Also would be nice to have links to reference materials on what's available in an initial install.
The configuration / generator script needs to add this line to ```ruby Rails.application.config.assets.precompile += %w( hyperstack-prerender-loader.js ) ``` to the `config/initializers/assets.rb` file. Work around is to add this file when...
Problem is that webpacker enhances `rake assets:precompile` to build the assets first, then builds the packs. This doesn't work as Hyperstack references the packs from the application.js (via the `hyperstack-loader.js`...
its a feature of Rails. workaround is to create a scope on the target class, and use that scope the result. We could automatically do this of course
Possibly with promises?
react now has a component type called memo. Need to detect when importing. For example the Material UI Icon Library is all built using memo type components. Here is the...
Operation classes after reloading in the browser keep previously defined steps. Example: I started from a file with the following code: ``` class TestOperation < Hyperstack::Operation step { puts "#{self}...
Current direction: ```ruby Hyperstack::Component::Mixin # include this to create a component class class MyComponent include Hyperstack::Component::Mixin end # typically we expect the application to create a master HyperComponent base class...