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
Generate globally unique common names for unnamed components, instead of falling back to "Component".
Unnamed components are now rendered as <UnnamedComponent0>, where 0 is an internal ID. Two identical components (referentially equal) will render with the same name, useful for testing unnamed components.
Don't assume Function.prototype exists (it doesn't for ES2015 arrow functions)
Add a renderRootComponent:false option, which skips rendering for components located at the root of the given JSX tree.
Add sortAttributes option. When set to true, attributes are sorted by name lexicographically during serialization. Useful for testing, such as via preact-jsx-chai