3.0.1 • Published 8 years ago

react-util v3.0.1

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

Install

npm i react-util

APIs

  • this::allRefVals()
  • this::clearRefs()
  • this::setRefs(obj)
  • this::refVal()
    • get val - this::refVal('ref')
    • set val - this::refVal('ref', 'val')
  • this::clear('ref')
  • this::focus('ref')

Examples

import { allRefVals } from 'react-util'
import { Component } from 'react'

class App extends Component {
  getData() {
    console.log(this::allRefVals())
  }
}

License

MIT

3.0.1

8 years ago

3.0.0

8 years ago

2.4.0

8 years ago

2.3.2

8 years ago

2.3.1

8 years ago

2.3.0

8 years ago

2.2.0

8 years ago

2.1.2

8 years ago

2.1.1

8 years ago

2.1.0

8 years ago

2.0.2

8 years ago

2.0.1

8 years ago

2.0.0

8 years ago

1.1.0

9 years ago

1.0.0

9 years ago