UNPKG

telex-amp

Version:

Lightweight React Native tracking library for performance and error logging with Telex Webhooks

5 lines (3 loc) 172 B
import { trackComponentLifecycle } from "telex-tracker"; const MyComponent = () => <Text>Hello</Text>; export default trackComponentLifecycle(MyComponent, "MyComponent");