Re:Vue RFC: Expose logic-related component options via funct...
by marcagba on Friday June 21, 2019 @02:09AM
(#20240246)
I've noticed this example of converted component on the RFC discussion:
https://gist.github.com/Akryum/6eff23ae9f7483d6b5151c26d1884...
The primary change seems to just be merging most of the keys/options (data, computed, watchers, etc) of the module into various functions within setup() which itself may require from coding best-practice guidelines since setup() is going to get pretty big.
I’d love to see a largish component converted to be able to compare the two instead of the small examples with one or two functions within it.