Skip to content

Commit

Permalink
README
Browse files Browse the repository at this point in the history
  • Loading branch information
defx committed Dec 13, 2020
1 parent 953c0d9 commit 0af1e69
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ Simple and declarative data binding for the DOM.
- [Select](#select)
- [Radio](#radio)
- [Side Effects](#side-effects)
- [Web Components](#web-components)
- [Pre-rendering](#pre-rendering)

## Features
Expand Down Expand Up @@ -450,6 +451,10 @@ If you implement a `propertyChangedCallback` method on your viewmodel, then this

> Invocations of `propertyChangedCallback` are already debounced with [requestAnimationFrame](https://developer.mozilla.org/en-US/docs/Web/API/window/requestAnimationFrame), so you'll only get one invocation per property _per_ animation frame.
## Web Components

Synergy plays well with the Web Component APIs. I've written a Custom Element wrapper ([@defx/elementary](https://github.com/defx/elementary)) that you can take a look at, or even use as a starting point to writing your own wrapper to suit your specific requirements.

## Pre-rendering

Pre-rendering is useful when you need to get content rendered immediately as part of the initial page load, without having to wait for JavaScript to build the page first.
Expand Down

0 comments on commit 0af1e69

Please sign in to comment.