rule of hooks can not report custom hooks inside renderProps. You can reproduce in this repo(https://github.com/ChangeHow/react-hooks-test/blob/main/src/App.jsx), and I also config a eslint react-hooks plugin for comparasion.
- work well in conditional hooks
