摘要:
For example, we have a dropdown list, we want to keep "other" option always as last option. return options .sort((a, b) => { if (a.value == b.value) r 阅读全文
摘要:
Emits the most recently emitted value from the source Observable whenever another Observable, the notifier, emits. sample<T>(notifier: Observable<any> 阅读全文
摘要:
If you have a popup window, if value is false should close the popup, true is displaying the popup. But if value is ture, you want to delay 365ms befo 阅读全文
摘要:
AWS Control Tower allow you to create, configure and manage multiple AWS accounts securly through automating ongooing policy management and guardrails 阅读全文
摘要:
ASW Inspector Security, mainly use for EC2 An AWS Service which provides automataed security assessments on your EC2 application. Common Vnlnerabiliti 阅读全文
摘要:
Presnetational Component: A presentational compoentn receives its data through props. It's primary function is to simply display the data it receives 阅读全文
摘要:
Make data available to multiple child cpmpopnents to avoid prop drilling Create a Context: Hooks We can create a hook to provide context to components 阅读全文
摘要:
Share a single global insance throughout our application Proxies are a powerful way to add control over the behavior of an object. A proxy can have va 阅读全文
摘要:
Tailwind CSS v2.1 introduces a new just-in-time compiler for Tailwind that generates your styles on-demand as you author your templates, instead of ge 阅读全文
摘要:
Most of the time,we use DOMElement.click(): button.click() Actually it is a shortcut for: button.dispatchEvent( new MouseEvent('click', { bubble: true 阅读全文