
Security News
Packagist Urges Immediate Composer Update After GitHub Actions Token Leak
Packagist urges PHP projects to update Composer after a GitHub token format change exposed some GitHub Actions tokens in CI logs.
@hackler/react-sdk
Advanced tools
npm install @hackler/react-sdk --save
yarn add @hackler/react-sdk
import { createInstance, HackleProvider } from "@hackler/react-sdk";
const hackleClient = createInstance("YOUR_SDK_KEY")
const user = {
id: "ae2182e0",
properties: {
app_version: "1.0.1",
age: 23,
paying_customer: true
}
}
ReactDOM.render(
<HackleProvider hackleClient={hackleClient} user={user} timeout={1000}>
<YourApp />
</HackleProvider>,
document.getElementById('root')
);
function App() {
return (
<HackleExperiment experimentKey={42}>
<HackleVariation variation={"A"}>
<OldBlueButton />
</HackleVariation>
<HackleVariation variation={"B"}>
<NewRedButton />
</HackleVariation>
</HackleExperiment>
)
}
const track = useTrack()
const event = {
key: "purchase",
value: 5000,
properties: {
first_paying: false,
item_count: 5
}
}
<button onClick={() => track(event)}>Purchase</button>
FAQs
React SDK for Hackle
The npm package @hackler/react-sdk receives a total of 3,204 weekly downloads. As such, @hackler/react-sdk popularity was classified as popular.
We found that @hackler/react-sdk demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 open source maintainers 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
Packagist urges PHP projects to update Composer after a GitHub token format change exposed some GitHub Actions tokens in CI logs.

Research
GemStuffer abuses RubyGems as an exfiltration channel, packaging scraped UK council portal data into junk gems published from new accounts.

Company News
Socket was named to the Rising in Cyber 2026 list, recognizing 30 private cybersecurity startups selected by CISOs and security executives.