Commit 47c46eb
authored
feat: refactored hydration logging and related tests (#5086)
* feat: refactored hydration logging, related test changes
* fix: remove console usage
* fix: stringify
* fix: reduce nodes to nodeName for browser parity
* fix: disable_static_content_optimization test exceptions, logging refactor
* fix: changes for bundle size reduction
* fix: remove redundant non-prod checks
* fix: irregular naming, type guard
* fix: review comments
* fix: typing for static element comparison
* fix: missing util
* fix: move pretty print classes to util
* fix: naming, attribute prettifier
* fix: rename logging function1 parent f080072 commit 47c46eb
File tree
47 files changed
+316
-270
lines changed- packages/@lwc
- engine-core/src/framework
- integration-karma
- helpers
- test-hydration
- attributes/falsy-mismatch
- mismatches
- attrs-compatibility
- attrs-expression
- class-attr
- dynamic-different
- dynamic-empty-in-ssr-null-string-in-client
- dynamic-null-string-in-ssr-empty-in-client
- empty-string-on-client-nonempty-on-server
- empty-string-on-server-nonempty-on-client
- extra-class-from-client
- extra-class-from-server
- only-present-in-ssr
- same-different-order
- comment-instead-of-text
- different-lwc-inner-html
- display-errors-attrs-class-style
- dynamic-component
- element-instead-of-textNode
- favors-client-side-comment
- favors-client-side-text
- host-mutation-in-connected-callback
- attr-mutated-class-mismatch
- class-mutated-attr-mismatch
- invalid-number-of-nodes
- foreach
- if-true
- sibling-issue
- style-attr
- computed
- different-priority
- extra-from-client
- extra-from-server
- same-different-order
- empty-string
- empty-on-client-nonempty-on-server
- empty-on-server-nonempty-on-client
- static
- different-priority
- extra-from-client
- extra-from-server
- same-different-order
- text-instead-of-comment
- textNode-instead-of-element
- with-validation-opt-out
- mutate-in-connected-and-render
- no-opt-out
- opt-out-wrong-array
- number-of-child-els
- stylesheet/host-scope-token/dynamic-render/mismatches
- extra-class-in-client
- extra-class-in-server
- wrong-scoped-template
- wrong-single-class
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
47 files changed
+316
-270
lines changedLines changed: 105 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
0 commit comments