Skip to content

Inherent problems due to the use of useEffect to "load" the external component #40

Description

@doflo-dfa

by using useEffect (internally) to manage the state changes on the loading of the component it causes a number of problems if you do anything stateful down-stream, basically causing most scenarios to violate the rules of hooks.

As an example useContext will not work in any of the remotely loaded controls due to this, it should at least be in the caveates.

Or hopefully I am just dumb and missed something.

😄

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions