diff --git a/README.md b/README.md index 073cbcbc..e0abbfab 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,6 @@ One is in alpha and is under heavy development. There might be breaking changes ```js import { mount, div, button } from 'one' -const state = { count: 0 } const view = function ({ state }) { return div([ p(`Count: ${state.count}`), @@ -18,6 +17,8 @@ const view = function ({ state }) { ]) } +const state = { count: 0 } + mount({ state, view,