{"repo":"skalinichev/uplot-wrappers","free":true,"listed":false,"github":"https://github.com/skalinichev/uplot-wrappers","clone":"git clone https://github.com/skalinichev/uplot-wrappers.git","description":"React, Vue.js and Svelte wrappers for uPlot that allow you to work with charts declaratively inside your favorite framework","language":"TypeScript","stars":133,"topics":["charts","uplot","react","wrapper","vue","svelte"],"license":"MIT","category":"ui-components","readme_excerpt":"🌐 Language English 简体中文 繁體中文 日本語 한국어 हिन्दी ไทย Français Deutsch Español Italiano Русский Português Nederlands Polski العربية فارسی Türkçe Tiếng Việt Bahasa Indonesia অসমীয়া uPlot wrappers A collection of uPlot wrappers that allow you to work with charts declaratively inside your favorite framework. Table of Contents - Motivation - Getting started - React - Installation - How to use - Demo - Vue.js - Installation - How to use - Demo - Svelte - Installation - How to use - Demo - Documentation Motivation While several other uPlot wrappers already exist, all of them have one of the following limitations: 1. They create uPlot instance once, during component mount phase, and expect you to handle all the update logic yourself. 2. They recreate uPlot instance anew whenever the props change, even if the instance can be updated to reflect the changes. In comparison this library tries it's best not to recreate the uPlot instance once the props change. Instead of recreation it tries to use uPlot public API to keep it up to date with the props. Getting started See React, Vue.js or Svelte sections below depending on what framework you're using. Also see API documentation common to all frameworks. React Installation Install uplot-react package with uplot dependency: - Using npm: $ npm install uplot-react uplot - Using yarn: $ yarn add uplot-react uplot You also need React 16.8 or above to be installed inside your project tree. How to use Demo See the live demo You can also run the demo a","default_branch":null,"files":null,"tree":[],"storefront":"/r/skalinichev","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/skalinichev/uplot-wrappers/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}