New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

react-vanilla

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-vanilla

Library for create, and modify DOM elements

latest
Source
npmnpm
Version
1.1.27
Version published
Maintainers
1
Created
Source

DOM

Library for create, and modify DOM elements

Library is implemented in a way similar to jsx h function.

There is a adapter package that use this library as a jsx templates for express library.

There is a cms-tapir package that implements a web server capable of creating REST requests and also use this library as jsx templates h function.

Library is capable of using reactive values.

Properties and children can be defined as functions. If function is presented — it would be called with a callback parameter. When callback parameter is called with some value — parameter would be updated with this value.

Async functions are also supported.

Store

Storage that provide reactive values for DOM part. Tests covered. Read docs of above packages for examples.

Ajax

Simple XMLHttpRequest wrapper.

GET:

Ajax.get( url, data, callback, config );
Ajax.get( url, callback, config );
await Ajax.async.get(url, data);

POST, DELETE are implemented in the same way.

Random.seeded

Extends Math.random with seeded method.

mulberry32 is used as the source of seeded random.

Math.random.seeded.rand([1, 2, 3]) would return one value from the array

Math.random.seeded.setSeed( someString | someNumber) set a new seed

var newSeeded = new Math.random.seeded.constructor() create a uniq seeded random

Article about random

Versions

List of old versions are here: form.dev

Keywords

react-vanilla

FAQs

Package last updated on 24 Mar 2025

Did you know?

Socket

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.

Install

Related posts