Skip to content

ie11 support? #32

@haripriyaaganesan

Description

@haripriyaaganesan

Hi,

Thanks for the great library. I've been using it for all my projects, but it does not work on IE11.
Can you add support for this one?

I got a Syntax error in index.js
if (process.env.NODE_ENV === 'production') {
module.exports = {
DevTool: () => null,
}

Can this be changed to
if (process.env.NODE_ENV === 'production') {
module.exports = {
DevTool: function DevTool() {
return null;
}
};
} else {
module.exports = require('./dist/react-hook-form-devtools.js');
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions