Skip to content

Warning: This build has been deprecated, use peer or standalone insteadΒ #101

@stahlmanDesign

Description

@stahlmanDesign

Overview

react-visjs-timeline is using a deprecated version of vis-timeline

This build has been deprecated vis-timeline-graph2d.min.js

In 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)

image

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";

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions