8c06dab10f
## Issues - Not safe to call the parent callback from the render function. It must be called from an effect or - `onHidden` is only called when blacklisted, but it can also be hidden from other circumstances. - While those other circumstances doesn't apply for FYP (the first client that relies on `onHidden`, it's incorrect from a code perspective, unless it is renamed to `onBlacklisted`. ## Change - Move the callback execution into an effect. - Ensure `onHidden` is for all situations that it is hidden. |
||
---|---|---|
.. | ||
component | ||
constants | ||
contexts | ||
effects | ||
modal | ||
page | ||
redux | ||
scss | ||
util | ||
analytics.js | ||
app.js | ||
comments.js | ||
i18n.js | ||
index.jsx | ||
lbry.js | ||
logWarningConsoleMessage.js | ||
native.js | ||
reducers.js | ||
rewards.js | ||
store.js |