
Product
Introducing the Alert Details Page: A Better Way to Explore Alerts
Socket's new Alert Details page is designed to surface more context, with a clearer layout, reachability dependency chains, and structured review.
@hackler/react-sdk
Advanced tools
npm install @hackler/react-sdk --save
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 1,368 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 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.

Product
Socket's new Alert Details page is designed to surface more context, with a clearer layout, reachability dependency chains, and structured review.

Product
Campaign-level threat intelligence in Socket now shows when active supply chain attacks affect your repositories and packages.

Research
Malicious PyPI package sympy-dev targets SymPy users, a Python symbolic math library with 85 million monthly downloads.