Closed XantreDev closed 2 months ago
createIntegration deleted since https://github.com/solidjs/solid-router/commit/d288c8fde67cb365b8f12062944bef3419442d83#diff-616b1f25a229de030f09926b82dafdc6aa0c93a00bd851f2b1f41796570fd629
We need to use createRouter
api
I downgraded to 0.9.1
version of solidjs/router
To be fixed in @tma.js/sdk@3.0: https://github.com/Telegram-Mini-Apps/tma.js/blob/feature/sdk-3-0/packages/solid-router-integration/src/createRouter.ts
Will be released in the next few days
@heyqbnk I like an implementation of BrowserNavigation in sdk v3, Looks clean. Basically it's stack based navigator like we have in native apps
When will it be released?
I've also encountered that current router can duplicate stack item on first navigation on the same path
Hey. Issue should be fixed now, consider updating to the latest packages versions.
I wasn't able to reproduce the problem you've met. In case, you still have it, let me know in a separate issue.
Here is the template you could use to learn more about how integration works now: https://github.com/Telegram-Mini-Apps/solidjs-template
Thank, I will try it
Telegram Application
Telegram Desktop
Describe the Bug
Uncaught SyntaxError: The requested module '/node_modules/@solidjs/router/dist/index.jsx' does not provide an export named 'createIntegration'
To Reproduce