Skip to content

osdnk/react-native-animated-props

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 

Repository files navigation

react-native-animated-props

What if I tell you could replace:

this.val.addListener(({ value }) => {
  this.ref.current.setNativeProps({
    style: {
      width: value,
      height: value
    } 
  })
})

with

connect(this.ref.current, this.val, "width")
connect(this.ref.current, this.val, "height")

in order to omit JS trip

About

WIP I HACK REACT NATIVE

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published