Coder Social home page Coder Social logo

Comments (7)

alexnguyennz avatar alexnguyennz commented on June 30, 2024 1

If you're using Next.js 13 and the app router, you'll need to dynamically import the library. E.g.

const init = async () => {
    const { initVenomConnect } = await import("@/lib/venom"); // where your initVenomConnect code is, in this case lib/venom.ts
    const venomConnect = await initVenomConnect();
    setVenomConnect(venomConnect);
  };

I didn't need to do this for pages router.

from venom-connect.

rightjelkin avatar rightjelkin commented on June 30, 2024

Hello, yes we know about problems with nekoton and next, but nekoton is not a part of that repository and project at all. You may address issue to standalone-client repo. If you will receive an answer from authors, kindly please put a link for the answer here πŸ™

from venom-connect.

Loque18 avatar Loque18 commented on June 30, 2024

Hello, @lisabeyy
I am also working with this library, I found a workaround, please check this issue on everscale-standalone-client repo

from venom-connect.

rightjelkin avatar rightjelkin commented on June 30, 2024

Hello, @lisabeyy I am also working with this library, I found a workaround, please check this issue on everscale-standalone-client repo

Might be a solution

from venom-connect.

Loque18 avatar Loque18 commented on June 30, 2024

Hello, @lisabeyy I am also working with this library, I found a workaround, please check this issue on everscale-standalone-client repo

Might be a solution

I don't think it's a solution, it is instead just a workaround, but ir works, howwever everscale-stand-alone package's mantainers should look for a solution, tho it is more related to nextJS and how it handles wasm files, but it should at least be mentioned on the documentation, so that other devs, don't waste time trying to find a solution.

from venom-connect.

rightjelkin avatar rightjelkin commented on June 30, 2024

Hello, @lisabeyy I am also working with this library, I found a workaround, please check this issue on everscale-standalone-client repo

Might be a solution

I don't think it's a solution, it is instead just a workaround, but ir works, howwever everscale-stand-alone package's mantainers should look for a solution, tho it is more related to nextJS and how it handles wasm files, but it should at least be mentioned on the documentation, so that other devs, don't waste time trying to find a solution.

Anyway, the problem is not about venom-connect, but about provider. Maintainer of provider has answered about including all wasm files in build...I think it will be better and more effective to work with this problem in the issues of provider repo...same for docs - it would be better to have such information there and here just to have a links

from venom-connect.

rightjelkin avatar rightjelkin commented on June 30, 2024

@Loque18 actually you could create a PR for README with your workaround....it would be good for community...at least developers could use it for now.

from venom-connect.

Related Issues (17)

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.