Skip to content

Bundle library without React #112

@bedrich-schindler

Description

@bedrich-schindler

In #58, we met problem with duplicate React instances when using hooks. If ReactUI is bundled together with React than consumer meets error that duplicate React instances are found.

Problem should be solved when react and react-dom (it is not necessary, but it reduces bundle size) are marked as external in webpack configuration: https://webpack.js.org/configuration/externals/

Metadata

Metadata

Assignees

No one assigned

    Labels

    BCBreaking changebugSomething isn't workingrefactoring

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions