Comparing version 1.3.1 to 1.3.2
{ | ||
"name": "rosma", | ||
"version": "1.3.1", | ||
"version": "1.3.2", | ||
"repository": { | ||
@@ -9,3 +9,3 @@ "type": "git", | ||
"author": "Shahab Yazdi <sh.yazdi@gmail.com>", | ||
"homepage": "https://shahabyazdi.github.io/rosma/", | ||
"homepage": "https://rosma.dev", | ||
"description": "Simple and easy-to-use global state management for React.", | ||
@@ -12,0 +12,0 @@ "keywords": [ |
@@ -11,2 +11,6 @@ # Rosma | ||
# Documentation | ||
https://rosma.dev/ | ||
## Counter app | ||
@@ -124,7 +128,3 @@ | ||
<> | ||
<input | ||
value={note} | ||
onChange={(e) => setNote(e.target.value)} | ||
placeholder="write something" | ||
/> | ||
<input value={note} onChange={(e) => setNote(e.target.value)} placeholder="write something" /> | ||
<button | ||
@@ -155,9 +155,3 @@ onClick={() => { | ||
const Input = withState(({ note = '', setNote }) => ( | ||
<input | ||
value={note} | ||
onChange={(e) => setNote(e.target.value)} | ||
placeholder="write something" | ||
/> | ||
)); | ||
const Input = withState(({ note = '', setNote }) => <input value={note} onChange={(e) => setNote(e.target.value)} placeholder="write something" />); | ||
@@ -201,9 +195,3 @@ const Button = withState(({ note, setNotes, setNote }) => ( | ||
const Input = withState(({ note = '', setNote }) => ( | ||
<input | ||
value={note} | ||
onChange={(e) => setNote(e.target.value)} | ||
placeholder="write something" | ||
/> | ||
)); | ||
const Input = withState(({ note = '', setNote }) => <input value={note} onChange={(e) => setNote(e.target.value)} placeholder="write something" />); | ||
@@ -210,0 +198,0 @@ const Button = withState(({ setNotes, setNote }) => ( |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No website
QualityPackage does not have a website.
Found 1 instance in 1 package
1
13812
223