-
-
Notifications
You must be signed in to change notification settings - Fork 318
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
render_jsx() Function #577
Comments
This would be an amazingly useful developer utility that would effectively make custom components obsolete. |
@rmorshea Also I'm realizing the awkwardness of the GitHub projects titles. It's hard to tell if Maybe rename sections to |
I think this can probably be wrapped up in the #578 issue. Ultimately there may be different ways of doing server-side rendering in IDOM, but at least to start, we'll probably want to just pick one to start. |
JSX rendering can be done in multiple ways, and can possibly be server side render or client side. I'm thinking of this specific ticket as a "custom components 2.0" |
The custom components interface is a bit more general than this. It doesn't make assumptions about how the components are implemented - it might be React, but it doesn't have to be. Thus, a feature like this would probably be implemented as a custom component that reaches out to a react render server endpoint. |
Current Situation
In order to render JSX, currently custom components are needed.
Proposed Actions
Create an
idom.jsx.render
function that can output JSX to VDOM.See python-react for design inspiration.
Implementation Details
The interface would look something like this...
The text was updated successfully, but these errors were encountered: