Questions tagged [dom]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
3
votes
0answers
43 views

Using display: none VS a SPA approach, when it comes to SEO and performance

Say I have a component like, // first approach (SPA) const Component = () => { const [show, toggle] = React.useReducer(show => !show, false) return ( <div> {show && &...
1
vote
1answer
146 views

DOMContentLoaded vs. 'load' event vs. “Finish”

I understand that the Difference between DOMContentLoaded and load events, has already been answered, and as such it explains the last two values (1.40s, 4.66s) from Developer Tools, but if the 'load' ...