-
Notifications
You must be signed in to change notification settings - Fork 108
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Any docs for new users? #292
Comments
Hi! In this particular example you can use The error is because you have only a I guess we need some better solution to this problem in general, though. |
Ok, I guess I'm not familiar enough with reflex to know what this means. I'd assumed that obelisk was just a quicker nicer way of spinning up a reflex app, but if it can't consume the reflex tutorials directly then I can't really bridge that gap myself. |
The reflex tutorials must be out of date. |
I don't think so, they seem to work fine outside obelisk. https://github.com/reflex-frp/reflex-platform#dynamics-and-events |
@locallycompact the intention is for |
@locallycompact The specific issue going on here is that obelisk pre-renders your pages, server-side, so all the widgets you use need to work both with and without javascript. If you have any widgets that require javascript, you can invoke them as However, in this particular case, the JS dependence for textInput exists purely for historical reasons, so @tomsmalley's solution (using |
Same asking. A simple documentation about how Obelisk works would be nice. I am a little bit confused about the project structures and some directories. After reading this, I understand that Obelisk does server side rendering for the index.html. Is there a switch or something that obelisk can output a static directory with index.html in it? Not sure what the directory frontendJs under backend directory does? it seems to be empty. Is it possible to convert an existing reflex-dom project into an Obelisk project? How to add servant into the mix? |
I also can't find any documentation about how the obelisk router works. |
@jrodriguesimg : I've started a more fully featured (compared to the reflex-examples project) demo that may be useful figuring out how routing works. You may be able to cargo cult that with following the types. @chengzh2008 I hope to also have in that demo app an embedded servant server (it's definitely possible to run servant on top of snap for this kind of thing, but I've got to figure it out). |
Thanks @benkolera. Where can I find that demo of yours? |
Thanks @benkolera @srid |
I am closing this ticket, not because I hate documentation (in fact, i love it a great deal), but because its scope crosses multiple projects beyond obelisk. Even within obelisk, there are a great many moving parts that would each be their own serious project to document. Please feel free to ask any specific questions as their own issues, and trust that we feel the need for comprehensive documentation as sorely as you do. Over the coming weeks, I hope to organize the documentation effort in a systematic, and transparent way. Take this as a token of my sincerity #913 |
Hi I'm struggling to get the basic tutorial applications in reflex working in obelisk.
I have the following in frontend
fails with the error
The text was updated successfully, but these errors were encountered: