Skip to content

Instantly share code, notes, and snippets.

View thovo's full-sized avatar
🤓
Happy dev

Tho Vo thovo

🤓
Happy dev
View GitHub Profile
@thovo
thovo / lcp-use-case.csv
Last active November 30, 2023 15:20
A table make some examples of LCP
Site LCP Conversion Rate Traffic Revenue Links
Carpe ↘︎ 52% ↑5% ↑ 10% ↑ 15% https://performance.shopify.com/blogs/blog/how-carpe-achieved-record-breaking-sales-by-focusing-on-performance-optimization
Sunday Citizen ↘︎ 25% ↑ 6% https://performance.shopify.com/blogs/blog/how-sunday-citizen-improved-conversions-by-focusing-on-performance
Group Renault ↘︎ 1s ↑ 13% https://web.dev/case-studies/renault?hl=fr
Swappie ↘︎ 55% ↑ 10% ↑ 42% https://web.dev/case-studies/swappie?hl=fr
@thovo
thovo / child-to-parent.ts
Created January 23, 2023 10:49
How parent component pass information to child component in Angular
import { Component, EventEmitter, Input, OnInit, Output } from '@angular/core';
@Component({
selector: 'app-child',
templateUrl: './child.component.html',
styleUrls: ['./child.component.scss']
})
export class ChildComponent implements OnInit {
<!--
Progressive Disclosure Demo - Updated 15 August, 2012 by Ros
Thank you for taking a look under the hood of our progressive disclosure demo. Please note that this is a work in progress, so it's a tad messy and bound to change.
If you have any questions, feel free to pop a line to support@campaignmonitor.com - we might learn something, too!
Known bugs
----------