
Security News
CVE Volume Surges Past 48,000 in 2025 as WordPress Plugin Ecosystem Drives Growth
CVE disclosures hit a record 48,185 in 2025, driven largely by vulnerabilities in third-party WordPress plugins.
ractive-ractive
Advanced tools
Experimental ractive adaptor for ractive objects. This makes it possible to use template-less Ractive objects as models.
Find more Ractive.js plugins at docs.ractivejs.org/latest/plugins
Note for v0.x users:
v1.0.0 changes the behavior of doing
require('ractive-ractive')(eg, in Browserify). See the changelog for upgrade instructions.
Ractive.defaults.adapt.push('Ractive');
parent = new Ractive();
user = new Ractive();
parent.set('user', user);
Changes in children are propagated to the parent:
user.set('name', 'Jake');
parent.get('user.name') //=> "Jake"
Changes in the parent are propagated to the children:
parent.set('user.name', 'Matt');
user.get('name') //=> "Matt"
Everything you'd expect to work will work.
However, these things are not supported, but may be in the future:
It will trigger a few events:
wrap - called when the instance is set as an attribute of another instanceunwrap - called when the instance has been unset from its parentwrapchild - called when the instance gets an Ractive attribute setunwrapchild - called when the instance gets an Ractive attribute unsetTo illustrate:
parent = new Ractive();
child = new Ractive();
parent.set('x', child);
// triggers `wrap(parent, 'x')` on child
// triggers `wrapchild(child, 'x')` on parent
parent.set('x', undefined);
// triggers `unwrap(parent, 'x')` on child
// triggers `unwrapchild(child, 'x')` on parent
ractive-ractive is available via npm.
$ npm install --save ractive-ractive
In CommonJS:
Ractive.adaptors.Ractive = require('ractive-ractive');
Ractive.defaults.adapt = ['Ractive'];
Without module loaders, the adaptor is available as "Ractive" under Ractive.adaptors.Ractive.
Hat tip to the original Ractive adaptor from @Rich-Harris. (src)
ractive-ractive © 2014+, Rico Sta. Cruz. Released under the MIT License.
Authored and maintained by Rico Sta. Cruz with help from contributors (list).
ricostacruz.com · GitHub @rstacruz · Twitter @rstacruz
FAQs
Ractive adaptor for Ractive objects
The npm package ractive-ractive receives a total of 27 weekly downloads. As such, ractive-ractive popularity was classified as not popular.
We found that ractive-ractive demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
CVE disclosures hit a record 48,185 in 2025, driven largely by vulnerabilities in third-party WordPress plugins.

Security News
Socket CEO Feross Aboukhadijeh joins Insecure Agents to discuss CVE remediation and why supply chain attacks require a different security approach.

Security News
Tailwind Labs laid off 75% of its engineering team after revenue dropped 80%, as LLMs redirect traffic away from documentation where developers discover paid products.