-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Experimental client+server-renderable directives (repeat & cache) (#50)
* Initial client+server-renderable directives (repeat & cache) * Add guard directive test * Add support for directives in AttributeParts. Add classMap test. * Add styleMap tests (& classMap statics test) * Add `isServerRendering` render option * Respect `noChange` returned from attribute committer * Add until directive tests * Enable noChange tests in AttributeParts * Re-enable attribute part tests * Re-enable AttributePart array test now that committer.getValue is used * Add asyncAppend/Repeat directive tests. Includes test support for async check and closures in test definition, to allow for stateful arguments to render. Updated until tests to take advantage of this. * Add ifDefined directive tests. * Add "manual" test configuration * Add live directive test. * Add guard directive test (for AttributePart) * Add PropertyPart directive tests. * Add BooleanPart directive support & tests. * Add EventPart directive tests. * Add "reflected" PropertyPart tests * Add support for directives in reflected PropertyParts * Pass isServerRendering option to BooleanAttributePart * Thread good error message through from reader * Combine debug/manual back into one launch config * Cleanup comments. * Add SSR subclasses of Parts/Committers. - Throws on access to DOM - Sets isServerRendering flag * Update to use NodePart:getPendingValue * Name improvement. * Use resolvePendingDirective(). * Add test for all part types at various depths. Fixes #37 * Add basic LitElement tests (#60) * Add LitElement tests. * Adds deep mutation obseving * Add ability for deep html expectations * Adds setup() callback that runs before render * Changes check() callback to run before the html expectation (to allow awaiting a promise before checking) * Fix example. * Add issue link
- Loading branch information
1 parent
199cd65
commit a0a120f
Showing
12 changed files
with
2,629 additions
and
257 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.