Skip to content

HTMLElement is not defined error when using regular-table with Next.js #225

Description

@yasmanets

Hi,

I'm trying to use regular-table in a React application built with Next.js. After running npm install regular-table
and attempting to use the library, I get the following error:

Image

It seems like regular-table is being executed in a server-side context where HTMLElement is not available.

Could you provide guidance on how to properly use regular-table with Next.js? Are there any recommended workarounds or configurations to ensure compatibility?

Thanks in advance!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions