rcpch / digital-growth-charts-react-component-library

A typescript React library for displaying RCPCH Digital Growth Charts from API data
https://growth.rcpch.ac.uk
MIT License
8 stars 11 forks source link

Remove `centileData` files but load dynamically and cache from API #99

Open eatyourpeas opened 3 months ago

eatyourpeas commented 3 months ago

This feature would be useful once we start adding in more references.

The idea is to load the centile data on page load and cache. It would potentially allow users to build charts using their own centile combination (since we have an endpoint for this in the API).