A new minimal example that work with PR
//! Minimal example:
//!
//! ```rust
+//! #[macro_use]
//! extern crate yew;
-//! use yew::html::*;
+//! use yew::prelude::*;
//!
//! struct Model {
//! value: i64,
//! DoIt,
//! }
//!
-//! fn update(context: &mut Context<Msg>, model: &mut Model, msg: Msg) {
+//! impl Component for Model {
+//! type Message = Msg;
+//! type Properties = ();
+//! fn create(_: Self::Properties, _: ComponentLink<Self>) -> Self {
+//! Self {
+//! value: 0,
+//! }
+//! }
+//!
+//! fn update(&mut self, msg: Self::Message) -> ShouldRender {
//! match msg {
-//! Msg::DoIt => {
-//! model.value = model.value + 1;
+//! Msg::DoIt => self.value = self.value + 1
//! }
+//! true
//! }
//! }
//!
-//! fn view(model: &Model) -> Html<Msg> {
+//! impl Renderable<Model> for Model {
+//! fn view(&self) -> Html<Self> {
//! html! {
//! <div>
-//! <button onclick=|_| Msg::Increment,>{ "Add +1" }</button>
-//! <p>{ model.value }</p>
+//! <button onclick=|_| Msg::DoIt,>{ "+1" }</button>
+//! <p>{ self.value }</p>
//! </div>
//! }
//! }
+//! }
//!
//! fn main() {
-//! let model = Model {
-//! value: 0,
-//! };
-//! program(model, update, view);
+//! yew::initialize();
+//! App::<Model>::new().mount_to_body();
+//! yew::run_loop();
//! }
//! ```
//!
