-
Notifications
You must be signed in to change notification settings - Fork 40
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
Proposal: Marko Widgets with ES6 and inline Marko templates #152
Comments
Looks great! 👍 👍 👍 I really like the compact code. Combined with inline template, we could have a Marko Widget component in just 1 file. Well, we still have
What do you think? Some other questions:
|
For the most part,
Yes,
Good question. We do plan on keeping complete backwards compatibility so you could always use the old syntax, but it probably makes sense to offer Thanks for the feedback @abiyasa! |
Thanks for the reply. I'm not aware of that use case for
Extending class from Renderer or Widget classes sounds good! |
Sneaking in here and saying that the syntax looks good. As @abiyasa said would be nice to somehow avoid writing I was looking at reactjs syntax and they skip the Again looking at reactjs they state Woudl also be nice to get rid of the Apart from that looks awesome, hows it going? :P |
Thanks for the input, everyone. @mlrawlings had started the work on this, but after some discussion we realized we can simplify things even more. We still want to include support for |
We are exploring how we can improve Marko Widgets by leveraging the ES6 syntax and here are the initial thoughts:
Feedback is appreciated
The text was updated successfully, but these errors were encountered: