-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Open
Description
I think the react examples could use an update. I was thinking something like this.
Here are the stuff my demo has:
- use context to hold
gun
object - use hooks (
useGun
, anduseCallback
in examples, but also any other state/effects needed could go here) - functional components
- modern tooling (I am using vite with swc in my example)
- CI build to github-pages by default
This style can be used for react-native as well as web-react, and makes everything simpler & easier to use.
I am happy to PR anything to modernize it. I noticed docs & examples have old class-components. Is there anywhere else? Where are docs source?
Metadata
Metadata
Assignees
Labels
No labels