Jamie

Results 20 comments of Jamie

from @rajamarketing comment here is what I've come up with, be it sass complains but it compiles... ```scss md-sidenav { width: 200px; md-icon { padding-right: 20px !important; } &.mat-sidenav-closed {...

👍 to expression trees being a PITA to debug and deal with when they do not work. Really cool stuff though!

[vuex-composition-helpers](https://github.com/greenpress/vuex-composition-helpers#typescript-mappings) has a good implementation of this and support for typescript type interfaces

I guess my point was the above examples is still missing type safety. This is Paramount to preventing bugs around the store. The library suggested was to demonstrate how you...

The problem in the current API is vuex is wrapping things. So you define an action it takes in the action context and the payload. When you use it you...

Kinda yeah, but I don't know a better way of supporting everything. Wishlist it would be nice to have fully typed `commit` and `dispatch` functions too. Maybe having a more...

Yeah I mean with "hooks" and refs you could mimic vuex. As for type safety, we've found numerous bugs in or code where one developer assumed the store was one...

Possibly things like Nuxt where you don't have direct access to the store? #blackmagic 🤢

This example shows how it's difficult for a developer to keep type safety, vs just having a simple solution without a lot of boilerplate. Even in commit/dispatch example there's a...

Maybe the typing discussion should be moved to a different issue?