Coder Social home page Coder Social logo

programadorthi / kotlin-routing Goto Github PK

View Code? Open in Web Editor NEW
46.0 4.0 3.0 762 KB

An extensible and multiplatform routing system powered by Ktor

License: Apache License 2.0

Kotlin 99.87% JavaScript 0.13%
android compose deeplink jetbrains kmm kotlin ktor multiplatform multiplatform-kotlin-library navigation

kotlin-routing's Introduction

Hi there ๐Ÿ‘‹

I'm Thiago Santos, an Android Developer since 2011 that likes to find patterns that should be improved and creating happyness to my workteam.

  • ๐Ÿ‡ง๐Ÿ‡ท I'm a Brazilian guy living on Aracaju/Sergipe;
  • ๐Ÿ‘จโ€๐Ÿ’ป Working remote;
  • ๐Ÿ‘จโ€๐ŸŽจ Daily trying improve projects architecture and build time;
  • ๐Ÿ™…โ€โ™‚๏ธ UI isn't my field. Yes, an Android dev that avoid touch UI code;
  • ๐Ÿ‘ทโ€โ™‚ Kotlin is now my primary language. Studying Rust in my free time to have a low level knowledge without touch C/C++;
  • ๐Ÿšง My english need to be improved too because my communication skills are not so good;
  • ๐ŸŽฎ๐Ÿถ Classic games and my dogs are my free time tasks too.

Contact me @programadorthi

kotlin-routing's People

Contributors

jcaiqueoliveira avatar programadorthi avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

kotlin-routing's Issues

Update to Voyager rc06

Due to some changes in the Navigator function signature, the current version of kotlin-routing does not work with the latest version of Voyager. A simple update to the dependencies would allow kotlin-routing to be used with the latest Voyager.

WASM support

Kotlin routing is based on ktor.
The ktor main branch has support to WASM, but there is no release with it until now.
So next ktor release from main branch will bring support to kotlin routing too

Re-Add Voyager

Voyager now has API stability with the release of 1.0.0, now would be a great time to re-add it.

voyager implementation with path based navigation

Im setting up a compose multiplatform project using Voyager targeting web to start and im not seeing routes be appended to the URL when push()'ing them nor is the screen's defined by path/name navigatable via URL. Is there something i am missing in the config/setup or is my understanding of this incorrect?

val router = routing {
    screen("/home", name = TeaserScreen.key) {
        TeaserScreen
    }

    screen("/form", name = WaitlistFlow.key) {
        WaitlistFlow
    }
}

pushing is done via
LocalVoyagerRouting.current.pushNamed(TeaserScreen.key) or LocalVoyagerRouting.current.push(path ="/home")

I would expect localhost:8080/home to resolve while the server is running. (UI is updating appropriately just not browser paths).

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.