- help me create the refs for new dialogs
- add the value automatically to the provider
- add the return value to the consumer ( useContext hook ) automatically
- any helpers needed for adding the value to the ref?
- can i set the value of the ref using context ? no need to pass it using props ?
bahaaalhalabi01 / react-dialog-ref Goto Github PK
View Code? Open in Web Editor NEWreact context helper for creating reusable refs