diff --git a/README.md b/README.md index 0679008..4d8bce1 100644 --- a/README.md +++ b/README.md @@ -611,7 +611,7 @@ await$($promise)( `forAwait$` is a method that can handle and render async iterables. ```js -import { ul, li, forAwait$, pending$, eah$, then$, catch$ } from 'nanoviews' +import { ul, li, forAwait$, pending$, each$, then$, catch$ } from 'nanoviews' ul()( forAwait$(fetchProducts())( @@ -626,7 +626,7 @@ ul()( Also you can render list in reversed order: ```js -import { main, div, forAwait$, pending$, eah$, then$, catch$ } from 'nanoviews' +import { main, div, forAwait$, pending$, each$, then$, catch$ } from 'nanoviews' main()( forAwait$(fetchNewsFeed(), true)( diff --git a/packages/nanoviews/README.md b/packages/nanoviews/README.md index 63eeecf..09bc91a 100644 --- a/packages/nanoviews/README.md +++ b/packages/nanoviews/README.md @@ -611,7 +611,7 @@ await$($promise)( `forAwait$` is a method that can handle and render async iterables. ```js -import { ul, li, forAwait$, pending$, eah$, then$, catch$ } from 'nanoviews' +import { ul, li, forAwait$, pending$, each$, then$, catch$ } from 'nanoviews' ul()( forAwait$(fetchProducts())( @@ -626,7 +626,7 @@ ul()( Also you can render list in reversed order: ```js -import { main, div, forAwait$, pending$, eah$, then$, catch$ } from 'nanoviews' +import { main, div, forAwait$, pending$, each$, then$, catch$ } from 'nanoviews' main()( forAwait$(fetchNewsFeed(), true)(