Skip to content

Releases: dfilatov/vidom

0.9.1

04 Apr 17:58
Compare
Choose a tag to compare
  • Fixed an issue with wrong onUpdate if setState is called inside onInit

0.9.0

03 Apr 13:03
Compare
Choose a tag to compare
  • Noticeably improved performance of server-side rendering, over 50% compared with 0.8x
  • Added support of TypeScript #306
  • shouldUpdate, onAttrsChange, onChildrenChange, onContextChange lifecycle methods renamed to onAttrsReceive, onChildrenReceive, onContextReceive, shouldRerender respectively #303
  • Added support of some missing dom events: onAnimationStart, onAnimationIteration, onAnimationEnd, onTransitionEnd #304
  • Added support of some missing html attributes: autoplay, contenteditable, crossorigin, formaction, formenctype, formmethod, formnovalidate, formtarget, novalidate, etc #305

0.8.6

14 Mar 20:00
Compare
Choose a tag to compare
  • Previous context are passed to shouldUpdate #301
  • Added onContextChanged lifecycle method

0.8.5

03 Mar 07:54
Compare
Choose a tag to compare
  • Attributes of TagNode are patched before children from now #298

0.8.4

21 Feb 08:29
Compare
Choose a tag to compare
  • All nodes with attributes (TagNode, ComponentNode, FunctionComponentNode) from now have an empty object as a default value of attributes instead of null #296

0.8.3

15 Feb 11:00
Compare
Choose a tag to compare
  • Error is thrown in dev mode in case of passing children with wrong type into TagNode and FragmentNode #289
  • Error is thrown in dev mode in case of passing a top node with wrong type into mount #291
  • All console.error are replaced with throwing corresponding errors #293

0.8.2

13 Feb 06:21
Compare
Choose a tag to compare
  • Fixed check for process.env.NODE_ENV and prevented global scope polluting

0.8.1

10 Feb 19:29
Compare
Choose a tag to compare
  • Fixed a bug with updating ref for ComponentNode

0.8.0

10 Feb 09:53
Compare
Choose a tag to compare
  • Redesigned a way to obtain attrs, children, context and state inside component's instance #282
  • Exception is throwed in dev mode in case of attempt to modify attrs, children, context and state directly #284
  • tag, attrs, children, key properties of virtual node are made public #281
  • Static method onDefaultAttrsRequest() of Component is replaced with static defaultAttrs property #286

0.7.2

01 Feb 13:39
Compare
Choose a tag to compare
  • Fixed a bug with passing null as attrs to FunctionComponent if they aren't specified explicitly #279
  • Removed redundant dom traversing in some cases while dom event is bubbling