Code Monkey home page Code Monkey logo

Comments (7)

scalamorphing avatar scalamorphing commented on May 28, 2024

@nailxx I am going to rewrite horrible EditorBus service. It should be rewritten now using xstream. I need this event bus for managing every event we need to emit and broadcast in our components.

from xod.

nkrkv avatar nkrkv commented on May 28, 2024

OK if it is required by the feature. It is.

from xod.

scalamorphing avatar scalamorphing commented on May 28, 2024

I deleted editor-remake branch and now I am working in feature-link-pins branch.

from xod.

scalamorphing avatar scalamorphing commented on May 28, 2024

Issue solution roadmap

  1. Refactor EditorBus service using xstream.
  2. Refactor all services of the application.
  3. Write behaviour tests for this user story.

from xod.

scalamorphing avatar scalamorphing commented on May 28, 2024

I had a discussion with @brusherru and we found that derivablejs fits our needs entirely.

from xod.

scalamorphing avatar scalamorphing commented on May 28, 2024

Proposal

@nailxx @brusherru I am going to use ramda (since it's mature, it's recommended by author of derivablejs and it fits all our needs and even more) instead of immutable.js for managing state of client application. I am sure that side-effects should be localized for better testing experience. We should not fail into endless debugging of our tests. All components should be stateless. I guess that it's a good practice. If you are not sure if it's a good idea then I can spend some time on research.
At this moment I need stateless events: I must be sure that events data can't be changed because it would be really tedious to find such bugs while our appilcation growth.

from xod.

nkrkv avatar nkrkv commented on May 28, 2024

No longer relevant

from xod.

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.