react-copy-write icon indicating copy to clipboard operation
react-copy-write copied to clipboard

✍️ Immutable state with a mutable API

Results 18 react-copy-write issues
Sort by recently updated
recently updated
newest added

https://github.com/aweary/react-copy-write/issues/17 It looks as follows when being consumed. ``` import React from 'react'; import createState from 'react-copy-write'; const logger = getState => next => fn => { const state =...

The current README isn't great. I'd love to have an actual website for documentation with examples, tutorials, API reference, etc. I'm leaning towards using https://docusaurus.io/. It looks easy to setup,...

help wanted

Hi, following the changes in React core: - https://github.com/facebook/react/pull/13069 - https://github.com/facebook/prop-types/pull/194 I thought it would make sense here as well. So use the smaller [shallowequal](https://github.com/dashed/shallowequal) package instead. Also maybe wait...

Hi, in order for Flow to find the type definitions they must be exported alongside the compiled sources. Since there are only those two files in `src` a simple `--copy-files`...

Would you be willing to include a TypeScript declaration file in this repo and publish it as part of the package? I'm interested in using this library in a TypeScript...

enhancement
help wanted

Just to continue our discussion around adding a 2nd optional parameter to `mutate` to pass additional information/options that might be needed by different 'plugins' (eg. devtools). I'm proposing the following...

Followed instruction here to bootstrap docusaurus https://docusaurus.io/docs/en/installation

Kudos to you for making this lib! I'm loving the mutating abilities. I want to talk about having some middleware like abilities or hooks to the update function to implement...