Skip to main content
100%

requirebin sketch

✓ Published0🌍 Public
HHypercubed
Last edited Sep 21, 2016
Created on Sep 21, 2016

This example demonstrates reactive state management in a React application by loading and observing a data package from a GitHub-hosted JSON file. It uses MobX to create an observable `package` property on a store, with an `observe` listener that logs changes to the console whenever the package is updated. The code loads dataset metadata via the `chi-datapackage` library, triggering the observer when the asynchronous load completes. The sketch shows how MobX tracks and reacts to state changes in a minimal data-loading workflow.

AI-generated description

Similar vizzes