angular-redux / store

Angular 2+ bindings for Redux
MIT License
1.34k stars 202 forks source link

Unexpected value 'NgReduxModule' imported by the module 'AppEngine' #228

Closed NeoLSN closed 7 years ago

NeoLSN commented 7 years ago
ngc error: Error: Unexpected value 'NgReduxModule' imported by the module 'AppEngine'

Did someone know how to solve it?

NeoLSN commented 7 years ago

Yes, it works on ng2-redux@4.1.0. Thanks!!!!

SethDavenport commented 7 years ago

Phew! Sorry that took so long.

stevencohn commented 7 years ago

While this syntax doesn't seem to work when building @select(s => s.foo.bar) something; this does: @select('foo.bar') something;

So replace the lambda parameter to @select with a string parameter.

SethDavenport commented 7 years ago

actually property path selectors are already supported with the following syntax: @select(['foo', 'bar']) something