You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
get rid of params wrapper - directly access params via instance vars #51
its much more consistent - all component state is in instance vars regardless of how it is set
the params wrapper method is not private (but it should be)
less typing
it just feels more natural to ruby.
Don't worry - you can get the legacy behavior by adding param_accessor_style :legacy to any component (including the base component.) You can also say param_accessor_style :both to get both behaviors. If you need to switch back to the now standard behavior say param_accessor_style :hyperstack
So for example you can say param_accessor_style :legacy in your base component, and then as you update components to new style in that component say param_accessor_style :hyperstack.
The param declaration macro is unchanged, but has a new alias option.
param :foo, alias: :internal_name
If you like to distinguish between params and other instance variables you can use this feature like this:
Activity
barriehadfield commentedon Nov 14, 2018
Update:
The CamelCase is used to highlight that the param is immutable.
Add the supported-configuration matrix and its checks (hyperstack-org#51
Read the matrix files as UTF-8; drop the duplicate spec run (hypersta…
Merge branch 'feat/supported-versions-matrix' into 'edge'
Make the matrix able to hold more than one cell (hyperstack-org#51)
Declare opal ~> 1.8 and make it selectable like react-rails (hypersta…
Merge branch 'feat/matrix-cells' into 'edge'
Add the React 17 cell to edge's matrix (hyperstack-org#51)
hyper-component: make prop-warning and component-stack specs React-17…
Merge branch 'feat/react17-cell' into 'edge'
hyper-component: backport the React 18 createRoot path to edge, add t…
Merge branch 'feat/react18-createroot' into 'edge'
Make the rails axis selectable, like opal and react-rails (hyperstack…
Merge branch 'feat/selectable-rails-axis' into 'edge'
22 remaining items
hyper-model: port two Rails 7 fixes from rails-7 pre-emptively (hyper…
Restore the full cell matrix: rails61 x3 + rails72-react16 (hyperstac…
rails-hyperstack: unit specs for the install generator's decision log…
hyper-model: make the aaa_edge_cases monkeypatch idempotent (hypersta…
Merge branch 'spike/rails72-cell' into 'edge'
hyper-spec: assert the running cell matches supported_versions.yml (h…
Merge branch 'feat/cell-contract-spec' into 'edge'
esbuild: let a cell select the npm React version (hyperstack-org#51, h…
Merge branch 'feat/npm-react-selector' into 'edge'
CI: bake spec:prepare's pinned gems into the cell images (hyperstack-…
Ruby 4 / Rails 8 / React 19 cell (rails80-react19) (hyperstack-org#20, …
Merge branch 'feat/issue-20-rails80-react19-cell' into 'edge'
gemspecs: a blank version selector must mean unset (hyperstack-org#78)
gemspecs: widen the rails and react-rails caps to the matrix span (hy…
publish: one gem list, two consumers -- and gate the CI path on it too (