for using connect and other context.consumers we need to render the confirm box inside of providers so I thought that it's a good idea to let user set a container and then confirmAlert function should be render inside of container
like react-toastify which let you render inside of a container with a function
for using connect and other
context.consumers
we need to render the confirm box inside of providers so I thought that it's a good idea to let user set a container and then confirmAlert function should be render inside of containerlike react-toastify which let you render inside of a container with a function