React
Grid.js has native React wrapper which can be used to create Grid.js instance in a React app. Use gridjs-react package to integrate your React app with Grid.js.
#
InstallAlso, make sure you have Grid.js installed already as it's a peer dependency of gridjs-react
:
#
UsageThen you can pass all Grid.js configs to the Grid
component. See Grid.js Config for more details.
#
ExampleLive Editor
Result
SyntaxError: Unexpected token (1:8) 1 : return () ^