Releases: Palindrom/palindrom-client
Boolean attribute parsing
If an attribute corresponds to a property, which default value is a boolean, the attribute value is also processed as boolean, eg.:
<palindrom-client use-web-socket="true">
<palindrom-client use-web-socket="false">
Will be interpreted as:
{ useWebSocket: true }
{ useWebSocket: false }
Implemented in PR #84
Warning: This is likely to change again in the future, see #85
Update Palindrom to version 6.0.0
7.3.0 7.3.0
Remove optimization trick for huge patches
Reset state behavior changed
When state is reset we no longer replace root nodes property by property, but replace it as a whole object - #79
Fix in Edge
For 100+ operation patches, replace whole dom-bind's bound object
palindrom-client
processes patches coming from Palindrom one by one; synchronously applies them to the DOM. This has many benefits like predictible and consistent (with the state-object) UI. And since the majority of UI updates are small (1-10) operations, this method doesn't cause performance issues.
But when patches grow, this becomes expensive and slow. This release considers 100+ sized patches as a new full state, and replaces the whole UI state with the new one when they occur. This is also expensive, but the 100 breaking point seems reasonable. After 100 operations, it becomes faster to replace the whole state and render it all again at once. Instead of interacting with the DOM N-times. Estimatingly, patches smaller than N=100, make more sense to be applied individually.
For 100+ operation patches, replace whole dom-bind's bound object
Drop error and reconnection UI in favor of palindrom-error-catcher
Convert to vanilla custom element and reuse existing Palindrom instances
- The element is now a vanalla custom elements and doesn't depend on Polymer.
- If it finds an existing Palindrom instance it will connect to it, if not it will create one.
- Fix error pane issues #62 & Palindrom/Palindrom#206.
Drop support for puppet-client
- Remove
puppet-client
name support. - Remove
.puppet
property (in favour ofpalindrom
).