Giter Club home page Giter Club logo

Comments (7)

Araq avatar Araq commented on May 18, 2024 1

Well better docs will come with time. Today we reached an important milestone: A component system that might actually work nicely for complex stateful components. :-)

from karax.

bluenote10 avatar bluenote10 commented on May 18, 2024

Not sure if it is of much help already, because it is still very early, but I have started to push the results of my experiments into a small example repo: https://github.com/bluenote10/KaraxExamples

from karax.

define-private-public avatar define-private-public commented on May 18, 2024

They are, thanks.

I'm wondering about how other things work like routes and whatnot. They're kind of the cornerstone of single page apps, but if there is no documentation on how to use them, it makes it a little difficult in Karax. I did do some poking, and the setOnHashChange() proc seem to be what's used, but there's no docstring for it in the source.

from karax.

define-private-public avatar define-private-public commented on May 18, 2024

That's good. Do routes still work using the # symbol?

from karax.

Araq avatar Araq commented on May 18, 2024

Yes why wouldn't it.

from karax.

define-private-public avatar define-private-public commented on May 18, 2024

Sorry for the week late reply. I was wondering about it because I've seen many other SPA libraries and applications that done use #. Instead, they change the browser's URL and tinker with the history state:

https://developer.mozilla.org/en-US/docs/Web/API/History_API

from karax.

Araq avatar Araq commented on May 18, 2024

Now there is also: https://nim-lang.org/araq/karax.html

from karax.

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.