You're Invited:Meet the Socket Team at RSAC and BSidesSF 2026, March 23–26.RSVP
Socket
Book a DemoSign in
Socket

babel-react-rmodel

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

babel-react-rmodel - npm Package Compare versions

Comparing version
1.0.1
to
1.0.2
+1
-1
package.json
{
"name": "babel-react-rmodel",
"version": "1.0.1",
"version": "1.0.2",
"description": "react版的双向数据绑定-- r-model",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -10,3 +10,3 @@ # babel-react-rmodel

```javascript
```js

@@ -25,3 +25,2 @@ class App extends React.Component {

<div>
<h1>I'm {inputVale}</h1>
<input type="text" r-model={inputVale} />

@@ -37,3 +36,3 @@ </div>

```javascript
```js

@@ -52,3 +51,3 @@ class App extends React.Component {

} = this.state;
return React.createElement("div", null, React.createElement("h1", null, "I'm ", inputVale), React.createElement("input", {
return React.createElement("div", null, React.createElement("input", {
type: "text",

@@ -88,3 +87,2 @@ value: inputVale,

<div>
<h1>I'm {inputVale}</h1>
<input onChange={this.alert} type="text" r-model={inputVale} />

@@ -118,3 +116,3 @@ </div>

} = this.state;
return React.createElement("div", null, React.createElement("h1", null, "I'm ", inputVale), React.createElement("input", {
return React.createElement("div", null, React.createElement("input", {
onChange: e => {

@@ -121,0 +119,0 @@ this.setState({