useEffect() can combine componentDidMount, componentDidUpdate, and componentWillUnmount but is tricky.
useEffect()
componentDidMount
componentDidUpdate
componentWillUnmount
You can decipher most of what I have to discuss here from official docs for hooks. It’s easier…
static Logger LOGGER = LoggerFactory.getLogger(PastedWrong.class);
~Stop static initialization of your loggers~. Inject them
class
Angular Directives are an important construct in angular to make DOM manipulation and / or event handling abstract.
We should Unit Test directives by mocking all dependencies with jasmine mocks and spies.
Angular Single Page Applications (SPAs) handle routes with router-outlets, keeping the browser window on the same page (index.html), enriching experience after initial page load with just post-back / ajax calls
router-outlets
index.html
These were the top 10 stories published by Simar's blog; you can also dive into yearly archives: 2018, 2019.