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
classIndex < HyperComponentparam_accessor_style:legacyparam:scope# params are accessed via the params wrapperrender(SECTION,class: :main)doUL(class: 'todo-list')doparams.scope.each{ |todo| TodoItem(todo: todo)}endendend
and the default:
classIndex < HyperComponentparam_accessor_style:hyperstack# default!param:scope# params are accessed via the camelized instance varrender(SECTION,class: :main)doUL(class: 'todo-list')do@Scope.each{ |todo| TodoItem(todo: todo)}endendend
Activity
camelCaseD commentedon Dec 5, 2018
FYI you pulled me into this. Please be careful what you type. If the above is suppose to be code surround it with back ticks
catmando commentedon Dec 12, 2018
fixed, sorry to disturb!
catmando commentedon Jan 15, 2019
closed. see hyper-component/spec/client_features/param_declaration_spec.rb
it "can use accessor style param names"for examplecatmando commentedon Jan 17, 2019
In summary here are how params look for the three options:
with the legacy params wrapper:
and the default:
hyper-spec: give every registered driver a read timeout (hyperstack-o…
Merge branch 'fix/issue-74-driver-read-timeout' into 'edge'