Reactjs – Re-rendering conditional buttons
This is for an interactive bible. In the following code I have buttons that are being conditionally rendered based upon the buttons I previously clicked. The code calls an API to retrieve the data. useEffect(() => { dispatch(fetchBibleBooks()); }, [dispatch]);…