Skip to content
#

ngrx

Here are 1,259 public repositories matching this topic...

platform
timdeschryver
timdeschryver commented Apr 22, 2022

Information

A question that I frequently see on various channels, is how to implement an effect without parameters.
Because this seems to be the number one question, I propose to add an example to the docs.

Documentation page

https://ngrx.io/guide/component-store/effect

I would be willing to submit a PR to fix this issue

  • Yes
  • No
altair
andbar-ru
andbar-ru commented Nov 25, 2021

Is your feature request related to a problem? Please describe.
In my opinion, it would be nice to have an option/flag to allow users to turn off line numbers. I am used to launch Altair with in not full-screen mode and have 3 columns: request, result and docs. Line numbers generally is useless and occupy valuable horizontal space.

Describe the solution you'd like
Checkbox "Show line n

jklotz
jklotz commented Mar 22, 2022

In src/internal/state-context-factory.ts it is noted:

// In doing this refactoring I noticed that there is a 'bug' where the
// application state is returned instead of this state slice.
// This has worked this way since the beginning see:
// https://github.com/ngxs/store/blame/324c667b4b7debd8eb979006c67ca0ae347d88cd/src/state-factory.ts
// This needs to be fixed, but is a 'breaking' ch
investigate good first issue discussion not an issue

A complete Angular 6 and Webpack 4 starter seed with minimal and full featured branches. Full featured branch includes: Material Design 2 (Bootstrap 4 branch available as well), @ngrx, HMR, DLLs and optional use of Universal for server-side rendering - Supports AOT (offline) compilation, sync and lazy loading. Karma/Protractor for e2e/unit tests.

  • Updated Jun 22, 2022
  • TypeScript
deox
sanbornhilland
sanbornhilland commented Jun 10, 2021

Are you open to adding a Payload utility type? I think the following would be fairly useful:

const action = createActionCreator(
	'FOO',
	resolve => (foo: string) => resolve({ foo }),
)

// Get the payload type of this action
const FooPayload = Payload<typeof action>

Essentially I think you can do something like this but it would be better to make it generic.

ty
enhancement help wanted good first issue

Improve this page

Add a description, image, and links to the ngrx topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the ngrx topic, visit your repo's landing page and select "manage topics."

Learn more