Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Documentation or Tutorials? #19

Closed
define-private-public opened this issue Jun 4, 2017 · 7 comments
Closed

Documentation or Tutorials? #19

define-private-public opened this issue Jun 4, 2017 · 7 comments

Comments

@define-private-public
Copy link

define-private-public commented Jun 4, 2017

This really is a neat little project. After looking at some of the examples, the TODO one seems to be the best one, but I'm having a little difficulty of trying to make sense of how this framework... well... works. I understand that this is still in early development and in an experimental phase, but something would be nice.

@bluenote10
Copy link
Contributor

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

@define-private-public
Copy link
Author

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.

@Araq
Copy link
Collaborator

Araq commented Jun 21, 2017

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. :-)

@define-private-public
Copy link
Author

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

@Araq
Copy link
Collaborator

Araq commented Jun 22, 2017

Yes why wouldn't it.

@define-private-public
Copy link
Author

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

@Araq
Copy link
Collaborator

Araq commented Nov 21, 2017

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

@Araq Araq closed this as completed Nov 21, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants