Saloneer

Results 21 issues of Saloneer

_From @catmando on November 25, 2015 21:40_ why even declare states? state :foo is completely redundant, and is at odds with the rest of ruby. executing state.foo should just create...

discussion

_From @catmando on January 6, 2016 23:54_ for example ``` ruby div(attributes, {more: :stuff}, :big, id: "hello", style: {display: :none}) ``` should be the same as ``` ruby div(attributes.merge {more:...

_From @catmando on January 21, 2016 23:52_ currently if you do this: ``` ruby # Rb is native ReactBootstrap class TooltipExample < React::Component::Base def render tip = Rb.Tooltip(id: 'foo'){'a tooltip'}....

_From @catmando on December 15, 2015 17:8_ React now has this notion of a "stateless" component, by which they mean a JS function that takes the "props" as it param,...

_From @wied03 on March 25, 2016 21:17_ For those of us that use the GrandCentral/Redux approach and keep most state outside the component, we don't want to hit any `Observable`...

react-opal transition

_From @catmando on February 29, 2016 20:54_ In writing documentation I realize we are at odds with Ruby terminology here. Should we allow "class:" as an alias for "type:" in...

discussion

_From @akshatpradhan on May 3, 2015 18:33_ what is the best way to do integration testing in React.rb? ![screenshot 2015-05-03 14 29 58](https://cloud.githubusercontent.com/assets/331004/7446268/05c65af6-f1a1-11e4-9751-13be31979d84.png) _Copied from original issue: zetachang/react.rb#25_

_From @catmando on December 15, 2015 2:36_ If you specify a parameter name as `:class` it gets translated to `:className` before handed over to the component. So if you want...

_From @catmando on December 9, 2015 18:18_ the export_state macro does two things: 1) creates a state variables that is shared by all instances of the component class. 2) makes...

discussion

_From @catmando on December 20, 2015 20:19_ Need some way to test components. Right now no reason why capybara will not work, but that is for testing entire view (or...

discussion