Skip to content

Commit

Permalink
chore: bump up version number
Browse files Browse the repository at this point in the history
  • Loading branch information
0kku committed Jul 1, 2021
1 parent a3228d7 commit 441274d
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 14 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ The `html` template tag will parse the content as XHTML and returns a `TemplateR
In the below example, two reactive items `who` and `count` are defined. `who` is set as the value of an input element: the value of `who` is updated whenever the text field in question receives input. `who` is also rendered as text below, so as the user types, the text below will update in real time. `count` on the other hand is just a number which is incremented once a second; the seconds counter is automatically rerendered every time the count changes.

```js
import { Component, html, reactive, register } from "https://code.okku.dev/destiny-ui/v0.6.0/dist/mod.js";
import { Component, html, reactive, register } from "https://code.okku.dev/destiny-ui/v0.7.0/dist/mod.js";

register(class ExampleComponent extends Component {
who = reactive("visitor");
Expand Down Expand Up @@ -73,7 +73,7 @@ The library figures out what the appropriate DOM operation for each slot is from
You can also make arrays reactive. ReactiveArrays will behave generally akin to normal arrays, except that they will give you reactive properties instead of normal ones. You can manipulate the array like you would normal arrays and the DOM and other dependents will update with it; forget immutability! Here's an example of using a reactive array:

```js
import { html, reactive } from "https://code.okku.dev/destiny-ui/v0.6.0/dist/mod.js";
import { html, reactive } from "https://code.okku.dev/destiny-ui/v0.7.0/dist/mod.js";

const thingsILike = reactive(["cats", "JavaScript", "sleep"]);

Expand Down
20 changes: 10 additions & 10 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "destiny",
"name": "destiny-ui",
"description": "A reactive UI library for JavaScript and TypeScript.",
"version": "0.6.0",
"version": "0.7.0",
"main": "./dist/examples/main.js",
"types": "./src/mod.ts",
"type": "module",
Expand Down

0 comments on commit 441274d

Please sign in to comment.