vidom

Library to build UI based on virtual DOM

MIT License

Downloads
633
Stars
415
Committers
7

Bot releases are visible (Hide)

vidom - 0.9.1

Published by dfilatov over 7 years ago

  • Fixed an issue with wrong onUpdate if setState is called inside onInit
vidom - 0.9.0

Published by dfilatov over 7 years ago

  • 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
vidom - 0.8.6

Published by dfilatov over 7 years ago

  • Previous context are passed to shouldUpdate #301
  • Added onContextChanged lifecycle method
vidom - 0.8.5

Published by dfilatov over 7 years ago

  • Attributes of TagNode are patched before children from now #298
vidom - 0.8.4

Published by dfilatov over 7 years ago

  • All nodes with attributes (TagNode, ComponentNode, FunctionComponentNode) from now have an empty object as a default value of attributes instead of null #296
vidom - 0.8.3

Published by dfilatov over 7 years ago

  • 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
vidom - 0.8.2

Published by dfilatov over 7 years ago

  • Fixed check for process.env.NODE_ENV and prevented global scope polluting
vidom - 0.8.1

Published by dfilatov over 7 years ago

  • Fixed a bug with updating ref for ComponentNode
vidom - 0.8.0

Published by dfilatov over 7 years ago

  • 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
vidom - 0.7.2

Published by dfilatov over 7 years ago

  • 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
vidom - 0.7.1

Published by dfilatov almost 8 years ago

  • Fixed environment check to make vidom more envify+uglifyjs friendly #276
  • Fixed children normalization in case of only child #278
vidom - 0.7.0

Published by dfilatov almost 8 years ago

  • Removed onInitialStateRequest lifecycle method in favour of call setState inside onInit #272
  • Added ability to get updated value of multi-value <select> inside onChange handler #274
vidom - 0.6.6

Published by dfilatov almost 8 years ago

  • Fixed a bug with sequential calls of setState breaking previous component state #270
vidom - 0.6.3

Published by dfilatov almost 8 years ago

  • Fixed ref behaviour in some edge cases after patching Component and FunctionComponent nodes
vidom - 0.6.2

Published by dfilatov almost 8 years ago

  • Fixed referencies for cloned ComponentNode
vidom - 0.6.0

Published by dfilatov almost 8 years ago

  • Introduced callback-based implementation of referencies to component instances and dom nodes #264
  • Refactored internal dom components #266
  • Removed deprecated mountToDom and unmountFromDom
  • Removed obtrusive console message about dev mode
vidom - 0.5.8

Published by dfilatov almost 8 years ago

  • Implemented Component#getChildren method #262
vidom - 0.5.7

Published by dfilatov almost 8 years ago

  • Added ability to clone nodes #191
vidom - 0.5.6

Published by dfilatov almost 8 years ago

  • Fixed an issue with wrong stringifying of overloaded attributes #110
vidom - 0.5.5

Published by dfilatov almost 8 years ago

  • Improved performance of server-side rendering