Git Product home page Git Product logo

Comments (6)

echarles avatar echarles commented on May 29, 2024

Hi @MukkundB I will try to document the injectable store and create an example for that.

BTW We are considering to add Mobx to Redux (or replace it?). Could you give any thoughts on that, and maybe describe your use case to see if Mobx could do the job for you also?

from jupyter-ui.

Bshara23 avatar Bshara23 commented on May 29, 2024

Would like to also add a suggestion, zustand is very popular choice for state management, it could be relevant for a lot of people;
A simple example or doc on how to inject it would be very helpful

from jupyter-ui.

echarles avatar echarles commented on May 29, 2024

@MukkundB I have added a section about state in the doc https://jupyter-ui.datalayer.tech/docs/state/redux which points to an example I have just pushed. The example show how to create you own state/action/reducer, enroll it in jupyter-react, and use it. Looking forward to your feedback.

from jupyter-ui.

echarles avatar echarles commented on May 29, 2024

Would like to also add a suggestion, zustand is very popular choice for state management, it could be relevant for a lot of people;

@Bshara23 We can continue the discussion on redux/mobx/zustand on #50

from jupyter-ui.

MukkundB avatar MukkundB commented on May 29, 2024

@echarles Thanks a lot for adding an example in the repo.

As far as the state management, I do not necessarily have an opinion.

I am trying to build a alternative UI for Jupyter notebooks. Since there is a heavy dependence to JupyterUI, I believe I will be using the same state management library as the one used here to simplify things.

In any case, for the sake of building a simple prototype, using a redux store would do.

from jupyter-ui.

echarles avatar echarles commented on May 29, 2024

Closing as resolved. Please open a new issues if you need more help.

from jupyter-ui.

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.