proppy
proppy copied to clipboard
Functional props composition for UI components (React.js & Vue.js)
https://unpkg.com/proppy@latest/dist/proppy.min.js Cannot find "/dist/proppy.min.js" in [email protected]
This would give a "native" way to consume changes. A possible example of usage... ``` import { withProps } from 'proppy'; const P = withProps({ counter: 1 }); const p...
We need to test if `proppy-vue` works well with single file components of VueJS. All our tests are written using JSX via `render()` function at the moment.
Typings in all the packages can be improved further. Someone who is into TypeScript may want to take a look at the packages in the monorepo :) For local development...
WIP branch exists here: https://github.com/fahad19/proppy/tree/proppy-react-hook ## Background React hooks will land soon in stable version, and currently already available in alpha version. More info: https://reactjs.org/docs/hooks-intro.html ## Set up For the...
Hi, I am really excited about replacing react+recompose+react-router with much lighter alternatives, but I am having some issues fitting it all together. I am coming from react/recompose, so I'm sure...
Attempting to call a state handler using `onChange` results in an infinite loop. It would be nice if there was a `didUpdate` function that mirrored the capabilities of (p)react's [componentDidUpdate](https://reactjs.org/docs/react-component.html#componentdidupdate),...
In original **connect** from react-redux, you can pass a function as a mapDispatch, which accepts dispatch and own component props. Here the full [description](https://github.com/reduxjs/react-redux/blob/master/docs/api.md#connectmapstatetoprops-mapdispatchtoprops-mergeprops-options) Do you plan to add this...
I have been wondering if it is possible to use this library with components defined like so: ```js @Component class SomeComponent extends Vue { mount () { ... } }...
Brilliant package. I really like this. Please consider renaming didSubscribe to didMount so that it is crystal clear what this is doing. I'm not sure it is clear immediately to...