# router-execute-action-provider

> Provide fluxible`s executeAction into the compoment with third parameter redirecting user via react-router

Latest version **2.0.1** (published 2016-06-23) · MIT license · 0 weekly downloads

## Install

```sh
npm install router-execute-action-provider
pnpm add router-execute-action-provider
yarn add router-execute-action-provider
bun add router-execute-action-provider
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 2.0.1 |
| Published | 2016-06-23 |
| First published | 2016-03-19 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >= 0.10.0 |
| Dependencies | 1 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Zlatko Fedor |
| Maintainers | zlatkofedor |
| Keywords | react, react-component, react-router, provider, fluxible, decorator |

## Links

- npm: https://www.npmjs.com/package/router-execute-action-provider
- Repository: https://github.com/seeden/router-execute-action-provider
- Homepage: https://github.com/seeden/router-execute-action-provider#readme
- Issues: https://github.com/seeden/router-execute-action-provider/issues
- npm.io page: https://npm.io/package/router-execute-action-provider

## Dependencies (1)

- [react-provide-props](https://npm.io/package/react-provide-props.md) ^2.0.1

## Alternatives

- [mobx-react](https://npm.io/package/mobx-react.md) — 2.8M weekly downloads
- [rc-tree](https://npm.io/package/rc-tree.md) — 2.6M weekly downloads
- [@react-oauth/google](https://npm.io/package/@react-oauth/google.md) — 1.3M weekly downloads
- [@wagmi/connectors](https://npm.io/package/@wagmi/connectors.md) — 877.0K weekly downloads
- [vee-validate](https://npm.io/package/vee-validate.md) — 836.4K weekly downloads

## Recent versions

- 2.0.1 (latest) — 2016-06-23
- 1.0.6 — 2016-06-23
- 1.0.5 — 2016-06-23
- 1.0.4 — 2016-06-23
- 1.0.3 — 2016-04-20
- 1.0.2 — 2016-03-19
- 1.0.1 — 2016-03-19

## README

# execute-action-provider

Provide fluxible`s executeAction into the compoment with third parameter redirecting user via react-router. You can use it as decorator too.

[![NPM version][npm-image]][npm-url]

[npm-image]: https://img.shields.io/npm/v/execute-action-provider.svg?style=flat-square
[npm-url]: https://www.npmjs.com/execute-action-provider
[github-url]: https://github.com/seeden/execute-action-provider


## Install
```sh
npm install execute-action-provider
```


# Support us

Star this project on [GitHub][github-url].


## Usage provideExecuteAction

### Decorator

````js
import React, { Component } from 'react';
import { provideRouterExecuteAction } from 'router-execute-action-provider';

@provideRouterExecuteAction
export default class Example extends Component {
  onSubmit() {
    const { executeAction } = this.props;
    executeAction(yourAction, yourPayload, { to: '/books' });
  }
}
```

### Function

```js
import React, { Component } from 'react';
import { provideExecuteAction } from 'fluxible-provider';

class Example extends Component {
  onSubmit() {
    const { executeAction } = this.props;
    executeAction(yourAction, yourPayload);
  }
}

export default provideExecuteAction(Example);
```

## Usage provideGetStore

TODO

## Try our other React components

 - Translate your great project [react-translate-maker](https://github.com/CherrySoftware/react-translate-maker)
 - Forms [react-form-controlled](https://github.com/seeden/react-form-controlled)
 - Google AdSense via Google Publisher Tag [react-google-publisher-tag](https://github.com/seeden/react-google-publisher-tag)

# Support us

Star this project on [GitHub][github-url].

## Credits

[Zlatko Fedor](http://github.com/seeden)

## License

The MIT License (MIT)

Copyright (c) 2016 Zlatko Fedor zlatkofedor@cherrysro.com

---
_Source: https://npm.io/package/router-execute-action-provider · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
