Closed bruimafia closed 2 weeks ago
@turansky There's for the kotlin-wrappers version.version=pre.812
. I need it for the kotlin-wrapper version.version=pre.492
. I don't see the import react.router.dom.createBrowserRouter
dependency
@bruimafia additional hints you can find in history of this repository
I have a great application. It used the implementation library("org.jetbrains.kotlin-wrappers:kotlin-wrappers-bom:0.0.1-pre.282-kotlin-1.6.10"). I decided to gradually increase the library version by making +1. I have reached version 1.0.0-pre.291, fixed some bugs and innovations in the versions. But when switching to 1.0.0-pre.292, I swear at the Routers and I don't understand how to fix it. Please help me, I want to move gradually, and not immediately to the current version, since in this case I have several hundred errors. And with this approach, I correct them gradually. Swears at the ignorance of the Browser Router class, as well as Navigate, attr.path and attr.element
` //import react.router.dom.BrowserRouter import kotlinx.browser.window import kotlinx.coroutines.CoroutineScope import kotlinx.coroutines.Job import kotlinx.coroutines.await import kotlinx.coroutines.launch import org.w3c.fetch.RequestInit import react.dom.render import react.redux.provider import react.router.dom.BrowserRouter import serviceRegistry.SERVICE_REGISTRY_ENDPOINT import stateManagement.store import structure.pageComponent import transport.utils.decodeURIComponent import web.dom.document import wrappers.d3.d3Selection import kotlin.coroutines.CoroutineContext
`
` import kotlinx.browser.localStorage import kotlinx.browser.sessionStorage import kotlinx.css. import pages.login.loginSection.Login import pages.releases.releasePage import pages.sections.analytic.analyticsPage import pages.sections.decisionTree.decisionSection import pages.sections.documents.documentsPage import pages.sections.journalLogs.features.journalLogsPage import pages.sections.layout. import pages.sections.model.model import pages.sections.notFound.notFoundPage import pages.sections.notifications.popUpNotifications import pages.sections.projects.saveProjectKeyToSessionStorage import pages.sections.projectsEmz.projectsEmz import pages.sections.queries. import pages.sections.settings.settingsFile.fileManagerPage import pages.sections.settings.settingsLayout import pages.sections.summary.summary import pages.sections.users.usersPage.UsersPage import pages.tokenMonitor.useTokenMonitor import react. import react.redux.useDispatch import react.router. import redux.RAction import scope.Section import stateManagement. import stateManagement.State import structure.modals.modal import styled.css import styled.styledDiv import utils.auth.OS import utils.auth.getOS import utils.getProjectKey import utils.hooks.useWatchingCleanup import utils.hooks.voiceAssistant.useMicrophoneListener import utils.hooks.voiceAssistant.useVoiceAssistantNavigator import utils.savedProjectStorageKey import utils.savedUserStorageKey import wrappers.leafleth.leafletMarkerCluster
`