wellguimaraes / actionware Goto Github PK
View Code? Open in Web Editor NEWRedux with less boilerplate, actions statuses and controlled side-effects in a single shot.
License: MIT License
Redux with less boilerplate, actions statuses and controlled side-effects in a single shot.
License: MIT License
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)
Scenario:
I think I should be able to call clearError(someAction)
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 ?
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.
v8.2.2 does not appear to have the lib
folder and thus is breaking imports.
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!
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
Hi! Very interesting lib.
What do you think about typescript support? Is it on the roadmap?
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."
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.