Code Monkey home page Code Monkey logo

Comments (7)

Jwhiles avatar Jwhiles commented on August 17, 2024

Hey @r00dY - if this still an issue for you, can you provide a minimal setup for replicating the issues? I believe that the sdk should be storing all messages before init is called, so they can be handled at the appropriate time.

from ui-extensions-sdk.

andipaetzold avatar andipaetzold commented on August 17, 2024

Closing because of inactivity. Feel free to reopen if you are still running into issues.

from ui-extensions-sdk.

r00dY avatar r00dY commented on August 17, 2024

@Jwhiles what if connect message is sent before your SDK is loaded? I must lazy load your SDK because of #1046 and message comes before the load.

from ui-extensions-sdk.

jeffyamada avatar jeffyamada commented on August 17, 2024

@r00dY I think

@Jwhiles what if connect message is sent before your SDK is loaded? I must lazy load your SDK because of #1046 and message comes before the load.

@r00dY I think I'm experiencing this. It's VERY frustrating - and I can't quite pin down when/how to avoid missing this call so my extension only works 1/4 of the time...did you find any solutions?

from ui-extensions-sdk.

andipaetzold avatar andipaetzold commented on August 17, 2024

We are aware of the issues and are currently working on a solution. We hope to release an update of the App SDK at some point next month but cannot provide an ETA just yet.

I don't think there is a workaround for this problem. Currently, the App SDK must be included in the first chunk loaded by the app. If the SDK is loaded later (e.g. via dynamic loading, lazy loading), things become flaky.

(Reopening this issue to communicate the status of our work.)

from ui-extensions-sdk.

andipaetzold avatar andipaetzold commented on August 17, 2024

We released an alpha version that hopefully resolves your issues: 4.10.0-alpha.1. Would be great to hear from you folks whether you are still running into problems with that update.

You can install the alpha by running npm install @contentful/[email protected]

from ui-extensions-sdk.

andipaetzold avatar andipaetzold commented on August 17, 2024

The change is now available in 4.11.0.

from ui-extensions-sdk.

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.