Skip to content

Commit f2e5e6b

Browse files
committed
Update browser support in packages READMEs
1 parent 8b9b981 commit f2e5e6b

2 files changed

Lines changed: 10 additions & 12 deletions

File tree

packages/app/README.md

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -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
6060
various 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:
8886
Whether the viewer should start with the sidebar open. The sidebar contains the
8987
explorer and search panels. Defaults to `true`. Pass `false` to hide the sidebar
9088
on 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

139137
By 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
141139
mode.
142140

143141
```tsx
@@ -602,7 +600,7 @@ once, it's important to prefetch every entity/value first so the requests are
602600
done in parallel. `useDatasets` and `useValues` do this automatically, but not
603601
`useEntity` and `useValue`:
604602

605-
```tsx
603+
```ts
606604
const { valuesStore } = useDataContext();
607605
valuesStore.prefetch(abscissasDataset);
608606
valuesStore.prefetch(ordinatesDataset);

packages/lib/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,6 @@ various front-end development stacks:
7474

7575
### Browser support
7676

77-
H5Web works out of the box on **Firefox 78 ESR**. Support for Firefox 68 ESR is
78-
possible by polyfilling the `ResizeObserver` API. Older versions of Firefox are
79-
not supported.
77+
H5Web works out of the box on **Firefox 102 ESR**. Support for older versions
78+
might be achieved by polyfilling specific web platform features like
79+
[`Object.hasOwn()`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/hasOwn).

0 commit comments

Comments
 (0)