-
Notifications
You must be signed in to change notification settings - Fork 91
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
move setRenderer for ssr to vdom.nim #207
Conversation
move to bigger patch #208 |
What is the goal of this PR? setRenderer does not belong to vdom.nim |
karax.nim import js target only module, that will cause compile time error, so I move to vdom.nim |
Can you move it into its own module instead? |
so user need import extro module, what's the module name ? I have no idea. |
I just realized that I don't understand the purpose of |
it renders to c backend and generate html to a relative path. |
Then it should be renamed to something else and vdom can contain it. |
so what it should be named ? |
proc renderToFile*(file: string; renderer: proc (): VNode)
No command line handling required. |
@bung87 do you want to implement the proposed name change (and deprecate the old one) or should we close this PR? |
I'm going to close this for now, but please let me know if you want to reopen it @bung87 |
No description provided.