recoil-nexus
Advanced tools
Comparing version 0.2.4 to 0.2.5
{ | ||
"name": "recoil-nexus", | ||
"version": "0.2.4", | ||
"version": "0.2.5", | ||
"description": "A small Typescript package to access your Recoil atoms outside of React components.", | ||
"main": "build/RecoilNexus.js", | ||
"scripts": { | ||
"build": "tsc", | ||
"test": "echo \"Error: no test specified\" && exit 1" | ||
"build": "tsc" | ||
}, | ||
@@ -21,14 +20,14 @@ "keywords": [ | ||
"dependencies": { | ||
"recoil": "^0.1.2", | ||
"rxjs": "^6.6.3", | ||
"recoil": "^0.4.0", | ||
"typescript": "^4.1.2" | ||
}, | ||
"peerDependencies": { | ||
"@types/react": "^17.0.0", | ||
"react": "^17.0.1" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/luisanton-io/recoil-nexus" | ||
}, | ||
"devDependencies": { | ||
"@types/react": "^17.0.17", | ||
"react": "^17.0.2", | ||
"react-dom": "^17.0.2" | ||
} | ||
} |
@@ -7,5 +7,5 @@ # R E C O I L - N E X U S | ||
If you have been using **[recoil](https://recoiljs.org/)** for a while, you might have faced it: outside React Components, it's not possible to get or update values from atoms. | ||
If you have been using **[recoil](https://recoiljs.org/)** for a while, you might have faced that outside React Components it's not possible to get or update values from atoms. | ||
This Typescript implementation relying on **[RxJS](https://rxjs-dev.firebaseapp.com/guide/overview)** will workaround this issue and let you do so. | ||
This Typescript implementation will workaround the issue and let you do so. | ||
@@ -91,2 +91,3 @@ ## Live Example | ||
This is a Typescript port + enhancement of [VeepCream](https://github.com/VeepCream)'s [recoil-outside](https://www.npmjs.com/package/recoil-outside). | ||
Original credits to [VeepCream](https://github.com/VeepCream)'s [recoil-outside](https://www.npmjs.com/package/recoil-outside) Javascript implementation. | ||
In this Typescript package, I decided to remove RxJS and rely on promises only. |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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 tests
QualityPackage does not have any tests. This is a strong signal of a poorly maintained or low quality package.
Found 1 instance in 1 package
2
2
92
6683
3
89
+ Addedhamt_plus@1.0.2(transitive)
+ Addedreact@18.3.1(transitive)
+ Addedrecoil@0.4.1(transitive)
- Removedrxjs@^6.6.3
- Removed@types/prop-types@15.7.13(transitive)
- Removed@types/react@17.0.82(transitive)
- Removed@types/scheduler@0.16.8(transitive)
- Removedcsstype@3.1.3(transitive)
- Removedobject-assign@4.1.1(transitive)
- Removedreact@17.0.2(transitive)
- Removedrecoil@0.1.3(transitive)
- Removedrxjs@6.6.7(transitive)
- Removedtslib@1.14.1(transitive)
Updatedrecoil@^0.4.0