Skip to content

Error: Element ref was specified as a string (month) but no owner was set.  #18

@CalvinJamesHeath

Description

@CalvinJamesHeath

This could happen for one of the following reasons:

  1. You may be adding a ref to a function component
  2. You may be adding a ref to a component that was not created inside a component's render method
  3. 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions