callthemonline / react-sip

React wrapper for jssip
https://www.npmjs.com/package/react-sip
MIT License
50 stars 46 forks source link

register() functions to return #6

Closed denisnikulin closed 7 years ago

denisnikulin commented 7 years ago

return sipRegister and sipUnregister;

kachkaev commented 7 years ago

What are those values returned for? One should be able to just call sipRegister and sipUnregister from react context – I guess we should not provide direct access to the lower level API.