Uncaught TypeError: this._data.getIds is not a function
at DataView.setData (data-view.ts:155:1)
at new DataView (data-view.ts:119:1)
at Timeline.setGroups (Timeline.js:353:1)
at new Timeline (Timeline.js:245:1)
I have tried starting from scratch
npx create-react-app my-app --template typescript
where I have added
"react-vis-timeline": "2.0.3"
and then since that seems to have unmet dependencies, I ended up adding
I am consistently getting an error
Uncaught TypeError: this._data.getIds is not a function at DataView.setData (data-view.ts:155:1) at new DataView (data-view.ts:119:1) at Timeline.setGroups (Timeline.js:353:1) at new Timeline (Timeline.js:245:1)
I have tried starting from scratch
npx create-react-app my-app --template typescript
where I have added
"react-vis-timeline": "2.0.3"
and then since that seems to have unmet dependencies, I ended up adding
Then using the code from https://github.com/razbensimon/react-vis-timeline/blob/master/examples/src/App.js to the main App.tsx, renamed to js
I am not sure why I am getting above error, or of course how to resolve it. Any help is appreciated