How can I inject props to a child component without having to use the Consumer component?

前端 未结 0 839
再見小時候
再見小時候 2020-12-16 21:00

How can I inject props from a Context consumer directly, without having to use the Consumer component? I would love to do it like the Formik example below but really not sur

相关标签:
回答
  • 消灭零回复
提交回复
热议问题