Skip to content

Commit

Permalink
Merge branch 'release/v0.10.0'
Browse files Browse the repository at this point in the history
  • Loading branch information
ClassicOldSong committed Mar 31, 2020
2 parents 7832202 + 08f819c commit 95b2869
Show file tree
Hide file tree
Showing 5 changed files with 1,361 additions and 819 deletions.
7 changes: 6 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,10 +59,15 @@ const data = {

const template1 = create(template)
const template2 = create(ast)
const template3 = t`Your awesome template`
const template3 = t`
>component1
>component2
.Your awesome template
`

const component1 = new template1() // Create a component without data
const component2 = new template2(data) // Create a component and then updates it's data
const component3 = new template3(data, {component1, component2}) // Use component1 and component2 as custom components in template3

onNextRender(callback) // Cache operations to execute on next render
inform() // Tell ef to cache operations **USE WITH CARE**
Expand Down
Loading

0 comments on commit 95b2869

Please sign in to comment.