Code Monkey home page Code Monkey logo

Comments (3)

vakata avatar vakata commented on July 21, 2024

The whole idea of the state plugin is to enable showing the same tree across sessions (which sessionStorage cannot accomplish I believe). Apart from that - I believe no data is stored in the localStorage except for node ID ... and also - I believe that security-wise they are both the same (domain controlled policy). Correct me if I am wrong - I have not used localStorage a lot ...

from jstree.

vakata avatar vakata commented on July 21, 2024

If you are referring to the helper file - vakata.js and you want to use it outside of jstree - that is another thing ... I will think of adding the option :)

from jstree.

lgcarrier avatar lgcarrier commented on July 21, 2024

I am developing a web application. The main menu of the application is based on jsTree. If we use the localStorage to store information across sessions, this might be a problem for security when different peoples are using the same computer. The application can be use by supervisors and regular employees in a warehouse. If we use localStorage, we might end-up showing data that shouldn't.

This is why I think the developers should decide which storage to use.

from jstree.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.