🐛 Bug report
Since useId is not available on React17 it breaks with reach@0.17.0
In auto-id package https://github.com/reach/reach-ui/blob/develop/packages/auto-id/src/index.tsx,
import * as React from "react";
is compiled as
import { useId as useId$1, useState, useEffect } from 'react'
in the esm module.
This leads to the following error

| Software |
Name(s) |
Version |
| Reach Package |
reach/alert-dialog |
0.17.0 |
| React |
React |
17.0.2 |
| React-scripts |
react-scripts |
5.0.0 |
| npm/yarn |
yarn |
1.22.18 |
| Operating System |
MacOs |
12.3.1 |
🐛 Bug report
Since useId is not available on React17 it breaks with reach@0.17.0
In auto-id package https://github.com/reach/reach-ui/blob/develop/packages/auto-id/src/index.tsx,
import * as React from "react";is compiled as
import { useId as useId$1, useState, useEffect } from 'react'in the esm module.
This leads to the following error