I really like your project but i do not understand how to make it work properly. I'm trying your basic tutorial https://github.com/namusyaka/react-sinatra-sample But i think something is wrong.
Steps to Reproduce the Problem
- Hitting http://localhost:4567/ print out this is an example for react-siantra as expected
- Hitting http://localhost:4567/react-component print out "{"name":"namusyaka"}"}"> (adding a parameter to the request namusyaka changes as expected) the page body content is the following:
<div data="{:react_class=>" commentbox",="" :react_props="">"{"name":"namusyaka"}"}">
- Hitting http://localhost:4567/react-component-with-server print out the following error:
[2018-08-13 14:21:27] INFO WEBrick::HTTPServer#start: pid=24271 port=4567
2018-08-13 14:21:32 - NoMethodError - undefined method `concat' for #React::Sinatra::Component:0x0000000001530ce0 Did you mean? concern:
Specifications
- Version: Ruby ruby 2.3.7p456, Sinatra 1.4.7, react-sinatra 0.1.1, Node v6.11.3
- Platform: Linux/ Ubuntu 14.04.5
Many thanks
I really like your project but i do not understand how to make it work properly. I'm trying your basic tutorial
https://github.com/namusyaka/react-sinatra-sampleBut i think something is wrong.Steps to Reproduce the Problem
<div data="{:react_class=>" commentbox",="" :react_props="">"{"name":"namusyaka"}"}">
[2018-08-13 14:21:27] INFO WEBrick::HTTPServer#start: pid=24271 port=4567
2018-08-13 14:21:32 - NoMethodError - undefined method `concat' for #React::Sinatra::Component:0x0000000001530ce0 Did you mean? concern:
Specifications
Many thanks