DEV Community

loading...

React Calculator, powered by Concent!!

幻魂
Concent is a predictable、zero-cost-use、progressive、high performance's enhanced state management solution.
・1 min read

I see this bro's post.
https://dev.to/vinodchauhan7/react-calculator-18l5

And try a beautiful way to rewrite it, completely separate UI and logic!
https://codesandbox.io/s/react-calculator-8hvqw

Welcome to know more about Concent,
a predictable、zero-cost-use、progressive、high performance's enhanced staate management solution, born for build large and high performance react app。

By the way: attention the ICtx I marked in code, with jsdoc type annotation, you can click and see any details you want, of course, you can easily change it to ts code.

Discussion (0)

Forem Open with the Forem app