An Interest In:
Web News this Week
- April 19, 2024
- April 18, 2024
- April 17, 2024
- April 16, 2024
- April 15, 2024
- April 14, 2024
- April 13, 2024
Announcing react-monetize
Why re-invent the wheel everytime?
If there's something we as React devs love is the infinite and ever expanding ecosystem of tools and packages at our disposal.
The GFTW Hackaton provided a unique opportunity to add our grain of sand to the community and build something to help future users of the web monetization api
. That's why I'm building react-monetize
.
What is it about?
It's a set of helpers to speed up development time and integrate easily with the new Web Monetization Api.
Is there a mission
Yes. It has to be easy to use, performant and must support React and Next.js.
Prototype
To use react-monetize
you'll have to wrap your app in a MonetizeProvider
and give it a payment pointer. After that you'll have the data available for you at any time.
import { MonetizeProvider } from 'react-monetize';function App() { return ( <MonetizeProvider paymentPointer="myPaymentPointer"> <AppCode /> </MonetizeProvider> );}export default App;
Feedback
Please feel free to comment your thoughts about the project and any idea is welcomed.
Have a great week!
Original Link: https://dev.to/guidovizoso/announcing-react-monetize-1ijj
Dev To
An online community for sharing and discovering great ideas, having debates, and making friendsMore About this Source Visit Dev To