Closed simplystuart closed 8 years ago
thanks so much for the PR... I think what we have here is a version incompatibility
render do
end
and
def render
end
are synonymous. We did this because render blocks are often quite long (20-30 lines) and thus throw warnings if you are using rubocop.
Also you can specify the outer component type, thus eliminating one layer of indentation:
render(:div) do
...
end
so the problem was indeed in reactrb-express being a few versions old. The CDN is updated so all should be well. Thanks again for pointing out the issue.
Fixes issue #32