отдача js
//Recoil is a global state management app, which allows you to make globally accessible states across the application.
//We can create atoms of states, and set their key as well as default value and access them from some other component.
recoilOutside npm
import { promiseSetRecoil, promiseGetRecoil } from "recoil-outside"import { store } from "./Store" export const setTest = async() => { await promiseSetRecoil(store, "Success")} export const getTest = async() => { const value = await promiseGetRecoil(store) return value}