0.0.7 • Published 5 years ago

react-transactions-provider v0.0.7

Weekly downloads
3
License
MIT
Repository
github
Last release
5 years ago

React Transactions Provider

Simple API for handling undo/redo behavior in React applications

Installation

npm i --save react-transactions-provider react prop-types

Usage

const App = () => (
  <TransactionsProvider>
    <Home />
  </TransactionsProvider>
);

render(<App />, document.querySelector('#root'));
class Home extends React.Component {
  // ...
}

export default withTransactions()(Home);
0.0.7

5 years ago

0.0.6

6 years ago

0.0.4

6 years ago

0.0.3

6 years ago

0.0.2

6 years ago

0.0.1

6 years ago