
Security News
Re-Enabled GitHub Actions Expose Thousands of Repositories to Mini Shai-Hulud
Two compromised GitHub Actions were re-enabled with malicious tags intact, exposing thousands of downstream repositories to Mini Shai-Hulud.
@taxi_tabby/react-eventflow
Advanced tools
React event tracking library with Provider pattern for collecting user interactions and sending to backend
React 기반 이벤트 추적 라이브러리 - Provider 패턴으로 사용자 인터랙션을 수집하고 백엔드로 전송합니다.
npm install react-eventflow
또는
yarn add react-eventflow
앱의 최상위에 EventFlowProvider를 추가합니다:
import { EventFlowProvider } from 'react-eventflow';
function App() {
return (
<EventFlowProvider
config={{
onEvent: async (event) => {
...
},
trackPageViews: true,
trackNavigation: true,
debug: process.env.NODE_ENV === 'development',
}}
>
<YourApp />
</EventFlowProvider>
);
}
컴포넌트 내에서 useEventFlow 훅을 사용합니다:
import { useEventFlow } from 'react-eventflow';
function ProductCard({ productId }: { productId: string }) {
const { trackEvent } = useEventFlow();
const handleAddToCart = () => {
trackEvent('add_to_cart', {
productId,
timestamp: Date.now(),
source: 'product_card',
});
// 실제 장바구니 로직...
};
return (
<button onClick={handleAddToCart}>
장바구니에 추가
</button>
);
}
import { useEventFlow } from 'react-eventflow';
function CustomPage() {
const { trackPageView } = useEventFlow();
useEffect(() => {
trackPageView('/custom-page', 'Custom Page Title');
}, []);
return <div>...</div>;
}
interface EventFlowConfig {
/** 이벤트 전송 콜백 함수 (필수) */
onEvent: (event: EventData) => void | Promise<void>;
/** 페이지뷰 자동 추적 (기본: true) */
trackPageViews?: boolean;
/** 네비게이션 자동 추적 (기본: true) */
trackNavigation?: boolean;
/** 디버그 모드 (기본: false) */
debug?: boolean;
/** 이벤트 배칭 활성화 (기본: false) */
enableBatching?: boolean;
/** 배칭 간격(ms) (기본: 1000) */
batchInterval?: number;
}
{
type: 'pageview',
timestamp: 1699999999999,
payload: {
url: '/products',
title: 'Products Page',
referrer: 'https://google.com',
userAgent: 'Mozilla/5.0...'
}
}
{
type: 'navigation',
timestamp: 1699999999999,
payload: {
from: '/home',
to: '/products'
}
}
{
type: 'custom',
timestamp: 1699999999999,
payload: {
// 사용자 정의 데이터
}
}
src/lib/EventFlowProvider.tsx 파일에는 다음 기능들이 TODO로 표시되어 있습니다:
enableBatching이 true일 때 이벤트를 큐에 모았다가 일괄 전송trackPageView 함수 구현trackEvent 함수 구현MIT
이슈와 PR은 언제나 환영입니다!
FAQs
React event tracking library with Provider pattern for collecting user interactions and sending to backend
The npm package @taxi_tabby/react-eventflow receives a total of 0 weekly downloads. As such, @taxi_tabby/react-eventflow popularity was classified as not popular.
We found that @taxi_tabby/react-eventflow 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.

Security News
Two compromised GitHub Actions were re-enabled with malicious tags intact, exposing thousands of downstream repositories to Mini Shai-Hulud.

Research
/Security News
A malicious Firefox extension fetches its payload after installation to evade detection, steal Google session cookies, and automate account takeover.

Research
/Security News
The compromise affects MemTensor's MemOS, an open source memory framework for large language models (LLMs) and AI agents. Both npm package @memtensor/memos-cloud-openclaw-plugin and the PyPI package MemoryOS are compromised. They drop cross-platform Go binaries that exfiltrate developer secrets.