@@ -9,7 +9,7 @@ to visualize and explore data. It consists of two main packages:
99- [ ` @h5web/lib ` ] ( https://www.npmjs.com/package/@h5web/lib ) : visualization
1010 components built with
1111 [ react-three-fiber] ( https://github.com/react-spring/react-three-fiber ) .
12- - ** [ ` @h5web/app ` ] ( https://www.npmjs.com/package/@h5web/app ) : a stand-alone ,
12+ - ** [ ` @h5web/app ` ] ( https://www.npmjs.com/package/@h5web/app ) : a standalone ,
1313 web-based viewer to explore HDF5 files (this library)** .
1414
1515` @h5web/app ` exposes the HDF5 viewer component ` App ` , as well as the following
@@ -60,14 +60,12 @@ The following code sandboxes demonstrate how to set up and use `@h5web/app` with
6060various front-end development stacks:
6161
6262- [ Vite] ( https://codesandbox.io/p/sandbox/h5webapp-vite-5c204?file=%2Fsrc%2FMyApp.tsx )
63- - [ Create React App v5] ( https://codesandbox.io/p/sandbox/h5webapp-cra-v5-bzmbh1?file=%2Fsrc%2FMyApp.tsx )
64- (deprecated)
6563
6664### Browser support
6765
68- H5Web works out of the box on ** Firefox 78 ESR** . Support for Firefox 68 ESR is
69- possible by polyfilling the ` ResizeObserver ` API. Older versions of Firefox are
70- not supported .
66+ H5Web works out of the box on ** Firefox 102 ESR** . Support for older versions
67+ might be achieved by polyfilling specific web platform features like
68+ [ ` Object.hasOwn() ` ] ( https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/hasOwn ) .
7169
7270## API reference
7371
@@ -88,7 +86,7 @@ For `App` to work, it must be wrapped in a data provider:
8886Whether the viewer should start with the sidebar open. The sidebar contains the
8987explorer and search panels. Defaults to ` true ` . Pass ` false ` to hide the sidebar
9088on initial render, thus giving more space to the visualization. This is useful
91- when H5Web is embeded inside another app.
89+ when H5Web is embedded inside another app.
9290
9391``` tsx
9492<App sidebarOpen = { false } />
@@ -137,7 +135,7 @@ form instead.
137135#### ` disableDarkMode?: boolean ` (optional)
138136
139137By default, the viewer follows your browser's and/or operating system's dark
140- mode setting. This prop disables this beahviour by forcing the viewer into light
138+ mode setting. This prop disables this behavior by forcing the viewer into light
141139mode.
142140
143141``` tsx
@@ -602,7 +600,7 @@ once, it's important to prefetch every entity/value first so the requests are
602600done in parallel. ` useDatasets ` and ` useValues ` do this automatically, but not
603601` useEntity ` and ` useValue ` :
604602
605- ``` tsx
603+ ``` ts
606604const { valuesStore } = useDataContext ();
607605valuesStore .prefetch (abscissasDataset );
608606valuesStore .prefetch (ordinatesDataset );
0 commit comments