Releases: VoliJS/NestedLink
Releases · VoliJS/NestedLink
Documentation hotfix
IE11 hotfix
Hotfix for npm installation problem
v1.3.5 updated package version
Added NumberInput tag
v1.3.3 fixed docs and tags.jsx
API extensions
- API for links cache, dramatically simplifying forms data binding:
- All links created with
Link.stateare cached, and are recreated only when value is different. const links = Link.all( this, 'attr1', 'attr2', ... )makes sure that links for specifiedstatemembers
are cached, and returns the reference to the cache. Thus,links.attr1is the direct reference to the link.- Links cache is directly accessible in
render()withthis.links.
- All links created with
- Link methods for purely functional updates of the enclosed object:
- Links to arrays:
unshift(...),push(...),splice(...)proxy call to native Array methods. - Links to arrays and objects:
remove( key )removes element with specified key. - Links to array and object members:
remove()removes element from parent object or array.
- Links to arrays:
- Methods for links to objects and arrays:
link.pick( key1, key2, ... )creates an object with links to listed object members, in the same way asLink.all.link.clone()creates shallow copy of the enclosed object.
- Added "Users List" application example.
Code comments, optimizations, and minor fixes
v1.1.1 cosmetic
Linked tags and purely functional updates
All what you need to prepare for React 15.x