This repository was archived by the owner on Apr 11, 2024. It is now read-only.

Description
simply including import { Viewer } from "forge-dataviz-iot-react-components"; in a empty new react project (npx create-react-app) I get this:
./node_modules/forge-dataviz-iot-react-components/client/components/BasicTree.jsx 107:16
Module parse failed: Unexpected token (107:16)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
| if (node.children.length > 0) {
| return (
> <TreeItem
| id={`tree-node-${node.id}`}
| key={node.id}
Any idea how to fix according with the suggestion on https://webpack.js.org/concepts#loaders ?