Skip to content

Uncaught TypeError: Cannot read properties of null (reading 'useRef') #724

@jkv27100

Description

@jkv27100

Versions

  • vite-plugin-federation: 1.3.6
  • vite: 7.1.2

Reproduction

Additional Details

Steps to reproduce

What is Expected?

What is actually happening?

I had a remote app with redux state configured when i try to expose any of the component to host app i am getting this useRef error. I am using React 18. If i were to add some simple

tag to a component and expose then it works

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