Import of the Keyboard component in Electron throws an invalid hook error

This issue has been tracked since 2021-11-02.

Simple-keyboard version
version ^3.3.22

Describe the bug
Import of the Keyboard component in Electron throws invalid hooks error.
I have tried to add it to whitelistmodule, change webpack configuration of the package , see if there were more instances of react or react-dom.
I still get the same error.

more details about the error message

hodgef wrote this answer on 2021-11-03

Hello @fadime-ozdemir,

It does work for me on latest (no invalid hooks call), can you share a test git repo so I can debug?


Here's the Electron boilerplate I used:

Will re-open as soon as I get the repro, thanks!

Francisco Hodge

More Details About Repo
Owner Name hodgef
Repo Name simple-keyboard
Full Name hodgef/simple-keyboard
Language JavaScript
Created Date 2018-03-02
Updated Date 2022-12-02
Star Count 1737
Watcher Count 20
Fork Count 130
Issue Count 0


Issue Title Created Date Updated Date