Skip to content

missing built in react hooks (useRef, useEffect, useMemo) #15

@blurymind

Description

@blurymind

These get as undefined even if i pass them through via the data prop. I have to do this ugly workaround at the parent comp

window.useRef = useRef;
window.useCallback = useCallback;
window.useEffect = useEffect;
window.useImperativeHandle = useImperativeHandle;
window.useMemo = useMemo

similar to
#12

Metadata

Metadata

Assignees

No one assigned

    Labels

    can't reproduceThe issue cannot be replicated with the provided informationneeds infoWait for more information from the author to reproduce or understand the issue.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions