docs/words-example.md in hyper-mesh-0.5.3 vs docs/words-example.md in hyper-mesh-0.5.4
- old
+ new
@@ -1,8 +1,7 @@
-# ![](/work-in-progress-drinking.png) WARNING DOCS AND EXAMPLES ARE BEING REWRITTEN MANY LINKS MAY BE BROKEN STAY TUNED OR CHECK IN AT [![Join the chat at https://gitter.im/reactrb/chat](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/reactrb/chat?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) FOR MORE INFO
+TODO: not sure where this should go?
-
## Random Words example
This is the example app used by the quick start guides, and if you want to dive deeper this is the place to be.
If you have not already done so, follow any one of the quick start guides to set up the basic system. Make sure to follow the steps in the last section and add a `Word` model, a `App` component, and a controller and route.
@@ -11,10 +10,10 @@
Your initial component should look like this:
```ruby
# app/views/components/app.rb
-class App < React::Component::Base
+class App < Hyperloop::Component
def add_new_word
# for fun we will use setgetgo.com to get random words!
HTTP.get("http://randomword.setgetgo.com/get.php", dataType: :jsonp) do |response|
Word.new(text: response.json[:Word]).save