Skip to content

Instantly share code, notes, and snippets.

@fatiherdogan01
fatiherdogan01 / AdbCommands
Created April 7, 2021 06:03 — forked from Pulimet/AdbCommands
Adb useful commands list
adb help // List all comands
== Adb Server
adb kill-server
adb start-server
== Adb Reboot
adb reboot
adb reboot recovery
adb reboot-bootloader
import React, { useState } from 'react';
function Example() {
// count bizim sayacımız olsun
const [count, setCount] = useState(0);
return (
<div>
<p> {count} kere tıkladınız.</p>
<button onClick={() => setCount(count + 1)}>
Tıkla
</button>
import React, { useState, useEffect } from 'react';
function Example() {
const [count, setCount] = useState(0);
useEffect(() => {
document.title = `${count} kere tıkladınız`;
});
return (
<div>
<p>{count} kere tıkladınız.</p>
<button onClick={() => setCount(count + 1)}>