It's inspired by React so the views are build differently than in 1.0.
> This is the biggest change from Riot 1.0 to 2.0. JavaScript and HTML are now part of the same module.