+ Async counter
+ Clicked ${count} ${plur('time', count)}!
+
+
+
+
+
+ `
+}
+
+app.router((route) => [
+ route('/', mainView)
+])
+
+const tree = app.start()
+document.body.appendChild(tree)
diff --git a/examples/async-counter/package.json b/examples/async-counter/package.json
new file mode 100644
index 0000000..a923e54
--- /dev/null
+++ b/examples/async-counter/package.json
@@ -0,0 +1,16 @@
+{
+ "name": "cancellable-counter",
+ "version": "1.0.0",
+ "description": "",
+ "main": "client.js",
+ "scripts": {
+ "start": "budo client.js -p 8080"
+ },
+ "keywords": [],
+ "author": "Juan Soto