This could happen for one of the following reasons:
- You may be adding a ref to a function component
- You may be adding a ref to a component that was not created inside a component's render method
- You have multiple copies of React loaded
See https://reactjs.org/link/refs-must-have-owner for more information.
The illustrative website is no longer functional. Additionally, I encounter the aforementioned problem as soon as I paste the DateCountdown component. I attempted to use the exact functioning package versions from codesandbox examples, but so far I have been unsuccessful in fixing the issue. Also tried using the package inside class and functional components.