gjuchault / ng2-storeService

[Discontinued] StoreService to use ngrx with ease
MIT License
0 stars 0 forks source link

Is ng2-storeService compatible with ng4 #3

Open st-clair-clarke opened 7 years ago

st-clair-clarke commented 7 years ago

Hi,

Given the changes with ngrx 4, is ng2-storesevice still compatible with ng4? There are changes with Actions (for example, there is no payload property). How does this impact on this package?

I have been using your store-service but now it is broken in ng4. Do you plan to upgrade to ng4.

See migration guide at https://github.com/ngrx/platform/blob/master/MIGRATION.md

Thanks

gjuchault commented 7 years ago

Hello there,

This library is more or less irrelevant now, as you can do pretty much everything it does directly from ngrx. I've not been using Angular since I wrote this, so I'm looking right now in the new ngrx. I'd suggest you to abandon this and follow ngrx. You can select from store with dot notation or array (select(['foo', 'bar'] instead of select('foo.bar') in storeService), and use Immutable natively. Good luck :)