Giter Club home page Giter Club logo

actionware's People

Contributors

johnslay avatar justinobney avatar wellguimaraes avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

actionware's Issues

react-native support?

I am having an issue getting this working in react-native. It appears that the stage-0 dep is causing issues.

using:

  • create-react-native-app
  • expo (21)

helper: clearError

Scenario:

  • I was on a view that resulted in an error for an action
  • I navigate away from view
  • Upon entering view again, I do not want to see the error

I think I should be able to call clearError(someAction)

Add ability to add custom prefix and skip withActions

I have make some changes to api
click
it will change api to something like this.
I also added actions args to busy action call.
But now you will be able to dispatch actions without
"withActions" hoc

import { createActions, next } from '@sp/actionware';

const openToolbar = args => args;
const closeToolbar = args => args;

export const actions = createActions(
	{
		openToolbar,
		closeToolbar
	},
	{ prefix: '@toolbar/' }
);

export default actions;

What do you think about it ?

Make it possible to cancel actions

Also, add cancellation listeners and make it possible to add extra params while running the action, so they can be passed to the cancellation handler.

Fix v8.2.2

v8.2.2 does not appear to have the lib folder and thus is breaking imports.

Couldn't find preset "stage-0" relative to directory

When trying to build my app, I keep getting the next error: TransformError: /tmp/sandbox/workspace/node_modules/actionware/lib/index.js: Couldn't find preset "stage-0" relative to directory "/tmp/sandbox/workspace/node_modules/actionware". Does anyone have any clue what this means?

Thanks!

Problem with multiple redux store

It is not possible to use this library with multiple redux store.
I faced with this problem and decide to rewrite api of actionware using redux middleware.
click

This library in development but it could be a solution

Typescript support

Hi! Very interesting lib.
What do you think about typescript support? Is it on the roadmap?

Spamming actions that are injected with @withActions cause React 16 to throw warnings.

How to reproduce: attach a withActions decorator injected action prop to the onClick of a button and rapidly spam it.

React 16 will throw the following warning for every key (=[someProperty]) of Synthetic event:
"Warning: This synthetic event is reused for performance reasons. If you're seeing this, you're accessing the property [someProperty] on a released/nullified synthetic event. This is set to null. If you must keep the original synthetic event around, use event.persist(). See https://fb.me/react-event-pooling for more information."

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.