Tero Piirainen
Tero Piirainen
Good point. How is this implemented currently on the (simplest possible) routing alternative? Maybe mimic that API.
Nue is currently developed under Mac only so Windows support is so-and-so. However, there will be a new version tomorrow that _might_ fix this issue. Fingers crossed.
Please try with the latest nuekit (v0.1.7)
Still unsure if this feature should be part of the controller piece on the MVC model. Is there a good example for `$emits` that would show why this feature is...
Callbacks sound great! JS developers are super familiar with them and they won't introduce any new, proprietary idioms. Why don't you like them?
I see the use case for `$emits` but I'd like to understand how they are better than a callback function. For example: ``` html // this callback method is called...
Glad to hear that! Noticed a bug that prevents callbacks from functioning currently. Will fix the issue and document this as the recommended way to do bi-directional data flow in...
@ericxin1982 I see your point: $emit is indeed more flexible. To see the point even better, can you name a good example component / use-case, where $emit is a must...
Worth noticing that app router was released yesterday: https://nuejs.org/docs/concepts/client-side-navigation.html#application-router Which tackles some of the same issues as dispatching (emitting events). Anyway, this issue is still on my mind but with...
Hey. I just released Nue 1.0 (beta). It's a web framework for UX developers based on a global design system. Think modern-day CSS zen garden: https://nuejs.org/blog/nue-1-beta/ Would love to hear...