-
Notifications
You must be signed in to change notification settings - Fork 91
Open
Description
Overview
react-visjs-timeline is using a deprecated version of vis-timeline
This build has been deprecated
vis-timeline-graph2d.min.jsIn case you are importing this through a URL it will result in a 404 eventually.
In case you are importing this through Node it will be replaced by the peer build eventually.Please use the peer or standalone build instead.
Peer: https://visjs.github.io/vis-timeline/examples/timeline/peer-build.html
Standalone: https://visjs.github.io/vis-timeline/examples/timeline/standalone-build.html
Package versions
"react-visjs-timeline": "^1.6.0",
"vis-timeline": "^7.1.0"
Screenshots (if appropriate)
If I understand correctly, instead of importing vis-timeline-graph2d.min.js, react-visjs-timeline should import like this (peer build):
import { DataSet } from "vis-data";
import { Timeline } from "vis-timeline/peer";
or this (standalone build)
import { DataSet, Timeline } from "vis-timeline/standalone";
lewdev, EPKGames, zoeesilcock and seyyed-sina
Metadata
Metadata
Assignees
Labels
No labels
