agile-ts / agile

🌌 Global State and Logic Library for JavaScript/Typescript applications

Home Page:https://agile-ts.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

optional method with value parameter for set()

bennoinbeta opened this issue Β· comments

commented

πŸ†• Feature Request

// currently 
MY_STATE.set(MY_STATE.value + 1);

// feature request
MY_STATE.set((value) => value + 1);