-
Notifications
You must be signed in to change notification settings - Fork 966
[lit-next] Adds labs
package
#1390
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
This provides the foundation onto which element controllers that hook into element lifecycle can be built. Note, this adds 0.05K gzipped.
The `labs` package is an experimental playground for Lit helpers and tools.
📊 Tachometer Benchmark ResultsSummarynop-update
render
update
update-reflect
Resultslit-element-list
render
update
update-reflect
lit-html-kitchen-sink
render
update
nop-update
lit-html-repeat
render
update
lit-html-template-heavy
render
update
updating-element-list
render
update
update-reflect
|
packages/labs/README.md
Outdated
|
||
These features may change significantly and frequently, or they may be | ||
removed altogether. In some cases, when a feature stabilizes and proves to be | ||
useful, it may move into the core Lit library. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"it may move into one of the core Lit packages or a new package"?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done.
From inside your project folder, run: | ||
|
||
```bash | ||
$ npm install lit-labs 8000 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is this the right package name? may we update later?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added TODO
packages/labs/README.md
Outdated
$ npm install lit-labs | ||
``` | ||
|
||
## Supported Browsers |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We might want to leave browser support to individual libraries
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Removed.
* Code distributed by Google as part of the polymer project is also | ||
* subject to an additional IP rights grant found at | ||
* http://polymer.github.io/PATENTS.txt | ||
*/ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
you might want an export {}
for various tools that use that to detect module format, and maybe a console.log("there's nothing here")
too.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done.
* http://polymer.github.io/PATENTS.txt | ||
*/ | ||
|
||
let count = 0; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove until it's needed?
The
labs
package is an experimental playground for Lit helpers and tools.