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 }}
This repository was archived by the owner on Oct 19, 2018. It is now read-only.
var editor = CodeMirror.fromTextArea(document.getElementById("code"), {
29
-
mode: "text/x-ruby",
30
-
matchBrackets: true,
31
-
lineNumbers: true,
32
-
indentUnit: 2,
33
-
theme: 'github'
34
-
});
35
-
</script> -->
36
-
37
-
<!-- <script>
38
-
var myCodeMirror = CodeMirror(document.getElementById("code"), {
39
-
value: "puts 'hello'",
40
-
mode: "text/x-ruby",
41
-
matchBrackets: true,
42
-
lineNumbers: true,
43
-
indentUnit: 2,
44
-
theme: 'github'
45
-
});
46
-
</script> -->
47
-
48
-
49
-
<br>
50
-
51
-
```ruby
52
-
class TestApp <React::Component::Base
53
-
param:name
54
-
before_mount{@timer = every(1){force_update!}}
55
-
render(DIV)do
56
-
h1{"The current time is #{Time.now}"}
57
-
h2 { "here hello #{params.name}" }.on(:click) do
58
-
alert "you clicked"
59
-
end
60
-
end
61
-
end
62
-
```
63
-
64
1
65
2
## Pure Ruby
66
3
Hyperloop lets you build beautiful interactive user interfaces using the same Ruby language running your server side code. Hyperloop replaces JS code, JSX, HTML, templating languages, and complex frameworks with one simple system.
@@ -69,10 +6,4 @@ Hyperloop lets you build beautiful interactive user interfaces using the same Ru
69
6
One language. One simple model. Under the hood the Hyperloop gems takes care of all the details for you. The same Ruby code runs on the server to deliver pages fast, and then keeps running on the client to handle your user interactions, data flow and data synchronisation.
The power and simplicity of React with a great easy to use Ruby DSL. HyperReact frees you up to do what you do best - building great apps.HyperReact is a wrapper for the React.js library for creating user interfaces. HyperReact provides all the goodness of React combined with the expressiveness of the Ruby language. React was built to solve one problem: building large applications with data that changes over time. HyperReact takes this one step further. Because it uses Ruby, you can think in one language on the server and the client. Because it uses React.js you get a simple, declarative, structured way to build your UI.
0 commit comments