
Security News
Deno 2.6 + Socket: Supply Chain Defense In Your CLI
Deno 2.6 introduces deno audit with a new --socket flag that plugs directly into Socket to bring supply chain security checks into the Deno CLI.
gatsby-plugin-hummhive-react-web-data
Advanced tools
Power your Gatsby site with public and/or encrypted members-only data from HummHive.
Power your Gatsby site with public and/or encrypted members-only data from HummHive.
This package abstracts all the encryption, decryption, public/private key generation, and HummHive data-bridge calls into a React Context Object that contains:
npm install gatsby-plugin-hummhive-react-web-datagatsby-config.js file, add plugins: ["gatsby-plugin-hummhive-react-web-data"]This plugin uses hummhive-react-web-data under the hood. Go there for the full documentation.
Note: This plugin automatically fetches the Hive state and the logged in Member state so there's no need to manually fetch them.
import React, { useContext } from "react"
import { HummContext } from "gatsby-plugin-hummhive-react-web-data"
const MyComponent = () => {
const { state } = useContext(HummContext)
return (
<h1>Hello {state.hive.name}</h1>
)
}
import React, { useEffect, useContext } from "react"
import { HummContext } from "gatsby-plugin-hummhive-react-web-data"
const MyComponent = () => {
const { state, actions } = useContext(HummContext)
// fetch groups when the component mounts
useEffect(() => {
if (!state.groups) actions.getGroups()
}, [])
if (!state.groups) return <p>Loading...</p>
return (
<h1>Hello {state.groups[0].name}</h1>
)
}
import React, { useEffect, useContext, useState } from "react"
import { HummContext } from "gatsby-plugin-hummhive-react-web-data"
const MyComponent = () => {
const { state, actions } = useContext(HummContext)
const [error, setError] = useState(null)
const handleJoin = async () => {
try {
await actions.joinHive(state.hive, USERNAME, EMAIL, GROUP_ID)
} catch (err) {
setError(err.message)
}
}
return (
<button onClick={handleJoin}>Join</button>
)
}
FAQs
Power your Gatsby site with public and/or encrypted members-only data from HummHive.
The npm package gatsby-plugin-hummhive-react-web-data receives a total of 1 weekly downloads. As such, gatsby-plugin-hummhive-react-web-data popularity was classified as not popular.
We found that gatsby-plugin-hummhive-react-web-data demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Deno 2.6 introduces deno audit with a new --socket flag that plugs directly into Socket to bring supply chain security checks into the Deno CLI.

Security News
New DoS and source code exposure bugs in React Server Components and Next.js: what’s affected and how to update safely.

Security News
Socket CEO Feross Aboukhadijeh joins Software Engineering Daily to discuss modern software supply chain attacks and rising AI-driven security risks.