useImperativeHandle examples

  1. Base without useImperativeHandle
  2. Base with useImperativeHandle
  3. Advanced
  4. Deps are not correct - wrong
  5. Deps are not correct - correct
  6. Deps are empty - wrong
  7. Deps are empty - correct
  8. Ref modification - wrong
  9. Ref modification - correct
  10. Before init - wrong
  11. Before init - correct
  12. State animation sync - wrong
  13. State animation sync - correct