1 repository
Hooks that synchronize external chart instance creation, updates, and destruction with React component mount, update, and unmount lifecycle events.
Distinct from React Hooks: Distinct from React Hooks: focuses specifically on synchronizing external library instances (G2 charts) with React lifecycle, not general React hook patterns.
Explore 1 awesome GitHub repository matching web development · Lifecycle Synchronization Hooks. Refine with filters or upvote what's useful.
BizCharts is a React charting library that wraps the G2 grammar of graphics, providing declarative React components for building interactive data visualizations. It bridges G2's imperative charting API with React's declarative component model, enabling chart creation through nested component composition without writing imperative code. The library distinguishes itself by mapping G2's grammar of graphics primitives directly to React component types, allowing chart series like line, bar, and scatter to be expressed as interchangeable React components. It synchronizes G2 chart instance creation,
Synchronizes G2 chart instance creation, updates, and destruction with React component mount, update, and unmount lifecycle hooks.