If most of your logic is server-side and client JS is kept small, custom elements let you lean on lifecycle events built right into the browser specs.
If most of your logic is server-side and client JS is kept small, custom elements let you lean on lifecycle events built right into the browser specs.