You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 96a3d89
Browse filesBrowse the repository at this point in the historyBrowse files
* Call this method after updating menu bar `items` dynamically, including changing
138
138
* any property on the item object corresponding to one of the menu bar buttons.
139
+
*
140
+
* @deprecated Since Vaadin 21, `render()` is deprecated. The `items` value is immutable. Please replace it with a new value instead of mutating in place.
139
141
*/
140
142
render(){
143
+
console.warn(
144
+
'WARNING: Since Vaadin 21, render() is deprecated. The items value is immutable. Please replace it with a new value instead of mutating in place.'
Copy file name to clipboardExpand all lines: wtr-utils.js
+1Lines changed: 1 addition & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -8,6 +8,7 @@ const HIDDEN_WARNINGS = [
8
8
'The <vaadin-grid> needs the total number of items in order to display rows. Set the total number of items to the `size` property, or provide the total number of items in the second argument of the `dataProvider`’s `callback` call.',
9
9
'PositionMixin is not considered stable and might change any time',
10
10
'WARNING: Since Vaadin 21, update() is deprecated. Please use updateConfiguration() instead.',
11
+
'WARNING: Since Vaadin 21, render() is deprecated. The items value is immutable. Please replace it with a new value instead of mutating in place.',
0 commit comments