Is there any way to remove the duplication here.
FETCH_REQUEST = ‘@@heroes/FETCH_REQUEST’
The name and value of the enumeration value are actually both FETCH_REQUEST’
Is there any good way to DRY it?
Is there any way to remove the duplication here.
FETCH_REQUEST = ‘@@heroes/FETCH_REQUEST’
The name and value of the enumeration value are actually both FETCH_REQUEST’
Is there any good way to DRY it?
--
Develop with pleasure!
Love podcasts or audiobooks? Learn on the go with our new app.