Skip to content

v1.0.4

Compare
Choose a tag to compare
@patrickjames242 patrickjames242 released this 19 Mar 20:50
· 56 commits to main since this release

This release adjusts the functionality of the default merge function in the following ways

  • The outer props now override the inner props by default (with the exception of special props like className, style, etc)
  • The merging of the children prop is now handled within the merge function
  • Previously if an outer style attribute (like color, backgroundColor etc.) was explicitly set to undefined, it would override the corresponding inner style attribute even if those were set to actual values. This has been fixed. The bug also existed with the way top-level props were merged, which has also been accounted for in the new implementation.