davestewart / vue-class-store

Universal Vue stores you write once and use anywhere
https://github.com/davestewart/vue-class-store-demos
MIT License
277 stars 13 forks source link

Punchline Competition! #8

Open davestewart opened 4 years ago

davestewart commented 4 years ago

Background

The Vue Class Store readme starts with an intro written in the form of a "3 guys walk into a bar" joke:

So Vue, Vuex and Vue Class Store walk into a bar...

Vue says: "I'll give you reactivity, computed properties and watches, but only in components, only using a special objects-and-function schema, and I demand initial values be passed in from a parent component using props! I don't get along particularly well with TypeScript either, so good luck with figuring that one out, buddy"

Vuex says: "I'll give you global reactivity and computed properties, but I'm going to call them esoteric names and require you set them up globally with a convoluted schema, access them only through a centralised store, and I'll force you to make all updates through string-based paths, with different formats, helpers, terminology and best practices. I'll also make it difficult to go more than a couple of levels deep, and I'll give you watches but you'll hate them so probably best not to use those either"

Vue Class Store says: "I'll give you reactivity, computed properties and watches, written in standard JavaScript or TypeScript, with no setup or boilerplate, and you can use me anywhere"

The end

Unfortunately, it's missing a punchline!

The intro does its job, so I'm not sure a punchline is even needed, but it would be nice.

Challenge

Come up with a punchline!

Submissions should:

Submission / voting / judging criteria:

No idea if this will go anywhere, but why not... 😄

eirikove commented 4 years ago

Bartender goes ERROR in app/src/main.ts 6:32 Could not find a declaration file for module './punchline.ts'. 'app/src/punchline.ts' implicitly has an 'any' type.

alanbosco commented 3 years ago

The bartender says: So, You're Vuex but less maintenance.