Giter VIP home page Giter VIP logo

Comments (5)

sergeysova avatar sergeysova commented on May 30, 2024

@Rastraponovich подскажи, какие у тебя версии эффектора, логгера и некст?

from logger.

Rastraponovich avatar Rastraponovich commented on May 30, 2024

@Rastraponovich подскажи, какие у тебя версии эффектора, логгера и некст?

"effector": "22.1.2",
"effector-logger": "0.13.1",
"effector-react": "22.0.4",
"next": "latest",
"react": "17.0.2",
"react-dom": "17.0.2",

from logger.

MichaelShipitsyn avatar MichaelShipitsyn commented on May 30, 2024

Repository to reproduce - https://github.com/MichaelShipitsyn/effector-nextjs

from logger.

Fyzu avatar Fyzu commented on May 30, 2024

Same issue.

After add babel plugin, application throw error:

effector.mjs:1 Uncaught Error: combine expects a store in a field clock
    at r (effector.mjs:1)
    at effector.mjs:1
    at e (effector.mjs:1)
    at yt (effector.mjs:1)
    at p (effector.mjs:1)
    at xt (effector.mjs:1)
    at x (effector.mjs:1)
    at newModel (model.ts:69)

On code:

    const showSelected = createEvent()
    sample({ // line 69
        clock: showSelected,
        source: [$store1, $store2],
        target: $result,
        fn: ([state1, state2]) => ({ state1, state2 }),
    });

Looks like babel plugin conflicted with 'effector/babel-plugin'

from logger.

AlexandrHoroshih avatar AlexandrHoroshih commented on May 30, 2024

Hello!

As of the recent '0.14.0' release, 'effector-logger' no longer includes 'effector-inspector' and integration with redux-devtools, so all related issues are gone.

Logger's custom babel plugin was also deleted

See the release notes for details
https://github.com/effector/logger/releases/tag/v0.14.0

from logger.

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.