[{"data":1,"prerenderedAt":1716},["Reactive",2],{"/posts/react-nedir":3,"/posts/react-nedir:related":1528,"/posts/react-nedir:alternate":1715},{"_path":4,"_dir":5,"_draft":6,"_partial":6,"_locale":7,"title":8,"description":9,"seoTitle":10,"thumbnail":11,"date":12,"read":13,"lang":14,"faqSchema":15,"body":16,"_type":1522,"_id":1523,"_source":1524,"_file":1525,"_extension":1526,"sitemap":1527},"/posts/react-nedir","posts",false,"","React nedir? Bileşenler, JSX, state ve ilk React uygulaması","React nedir, ne işe yarar? Bileşen, JSX, props ve state kavramları, Vite ile kurulan küçük bir alışveriş listesi uygulaması, Next.js ve Vue ile farkı.","React nedir, ne işe yarar? Örnek bir React uygulaması","/media/react-nedir/thumbnail.jpg","2026-12-02","9 dk","tr",true,{"type":17,"children":18,"toc":1494},"root",[19,27,32,40,47,63,93,98,103,105,184,190,204,217,223,228,235,240,252,266,279,375,412,418,467,473,478,487,521,541,552,558,592,618,624,629,630,709,714,720,738,743,745,858,871,877,890,904,915,942,952,963,975,996,1002,1004,1121,1126,1132,1153,1166,1172,1243,1249,1254,1334,1370,1376,1382,1387,1393,1398,1403,1408,1414,1419,1425,1437,1443,1455,1461],{"type":20,"tag":21,"props":22,"children":23},"element","p",{},[24],{"type":25,"value":26},"text","React, web ve mobil kullanıcı arayüzleri yapmak için kullanılan açık kaynak bir JavaScript kütüphanesi. Arayüzü bileşen (component) denen küçük parçalardan kuruyorsunuz: bir buton, bir ürün satırı, bir menü. React bu parçaları ekrana çiziyor ve veri değiştiğinde ekranın hangi kısmının değişmesi gerektiğini kendisi hesaplıyor.",{"type":20,"tag":21,"props":28,"children":29},{},[30],{"type":25,"value":31},"Frontend'de en çok Vue ve Nuxt yazıyorum, bu site de Nuxt ile yazılı. React ve Next.js'i daha önceki bir işte iç araçlar geliştirirken kullandım. Bu yazı React'e yeni başlayan biri için: React'in ne olduğu, temel kavramları ve ilk projenin nasıl kurulacağı. Örnek uygulamayı Vite ve React 19.3 ile sıfırdan kurdum, davranışını headless Chrome'da tıklayarak kontrol ettim.",{"type":20,"tag":21,"props":33,"children":34},{},[35],{"type":20,"tag":36,"props":37,"children":39},"img",{"alt":38,"src":11},"Terminalde cat src/Urun.tsx komutu: alışveriş listesindeki bir ürünü checkbox ile gösteren React bileşeni",[],{"type":20,"tag":41,"props":42,"children":44},"h2",{"id":43},"react-nedir-ne-işe-yarar",[45],{"type":25,"value":46},"React nedir, ne işe yarar?",{"type":20,"tag":21,"props":48,"children":49},{},[50,52,61],{"type":25,"value":51},"React'in kendi sitesi onu tek cümleyle tanımlıyor: \"web ve native kullanıcı arayüzleri için kütüphane\" (",{"type":20,"tag":53,"props":54,"children":58},"a",{"href":55,"rel":56},"https://react.dev/",[57],"noopener",[59],{"type":25,"value":60},"react.dev",{"type":25,"value":62},"). Yani React bir programlama dili değil. JavaScript ile yazılıyor ve tarayıcıda JavaScript olarak çalışıyor.",{"type":20,"tag":21,"props":64,"children":65},{},[66,68,74,76,83,85,91],{"type":25,"value":67},"Çözdüğü problemi düz JavaScript ile görmek kolay. ",{"type":20,"tag":53,"props":69,"children":71},{"href":70},"/posts/javascript-nedir",[72],{"type":25,"value":73},"JavaScript nedir",{"type":25,"value":75}," yazısındaki sayaç örneğinde butonu ",{"type":20,"tag":77,"props":78,"children":80},"code",{"className":79},[],[81],{"type":25,"value":82},"querySelector",{"type":25,"value":84}," ile bulup her tıklamada ",{"type":20,"tag":77,"props":86,"children":88},{"className":87},[],[89],{"type":25,"value":90},"textContent",{"type":25,"value":92},"'i elle değiştiriyorduk. Tek bir buton için sorun yok. Ama bir sayfada yüzlerce eleman, birbirine bağlı listeler, formlar ve sayaçlar olunca hangi veri değişince hangi elemanın güncelleneceğini takip etmek zorlaşıyor. Bir yeri unutursanız ekranda eski bilgi kalıyor.",{"type":20,"tag":21,"props":94,"children":95},{},[96],{"type":25,"value":97},"React bu işi tersine çeviriyor. Ekranın belirli bir veriye göre nasıl görünmesi gerektiğini tarif ediyorsunuz. Veri değişince React bileşeni yeniden çalıştırıyor, önceki sonuçla karşılaştırıyor ve DOM'da sadece farklı olan kısmı güncelliyor.",{"type":20,"tag":21,"props":99,"children":100},{},[101],{"type":25,"value":102},"React ile yapılan tipik işler:",{"type":25,"value":104},"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",{"type":20,"tag":106,"props":107,"children":108},"table",{},[109,127],{"type":20,"tag":110,"props":111,"children":112},"thead",{},[113],{"type":20,"tag":14,"props":114,"children":115},{},[116,122],{"type":20,"tag":117,"props":118,"children":119},"th",{},[120],{"type":25,"value":121},"Ne",{"type":20,"tag":117,"props":123,"children":124},{},[125],{"type":25,"value":126},"Nasıl",{"type":20,"tag":128,"props":129,"children":130},"tbody",{},[131,145,158,171],{"type":20,"tag":14,"props":132,"children":133},{},[134,140],{"type":20,"tag":135,"props":136,"children":137},"td",{},[138],{"type":25,"value":139},"Tek sayfalık web uygulaması (SPA), yönetim paneli",{"type":20,"tag":135,"props":141,"children":142},{},[143],{"type":25,"value":144},"React ve Vite",{"type":20,"tag":14,"props":146,"children":147},{},[148,153],{"type":20,"tag":135,"props":149,"children":150},{},[151],{"type":25,"value":152},"Sunucuda render edilen, SEO gereken site",{"type":20,"tag":135,"props":154,"children":155},{},[156],{"type":25,"value":157},"React ve bir framework: Next.js ya da React Router",{"type":20,"tag":14,"props":159,"children":160},{},[161,166],{"type":20,"tag":135,"props":162,"children":163},{},[164],{"type":25,"value":165},"Android ve iOS uygulaması",{"type":20,"tag":135,"props":167,"children":168},{},[169],{"type":25,"value":170},"React Native, genelde Expo ile",{"type":20,"tag":14,"props":172,"children":173},{},[174,179],{"type":20,"tag":135,"props":175,"children":176},{},[177],{"type":25,"value":178},"Mevcut bir sayfanın bir kısmı",{"type":20,"tag":135,"props":180,"children":181},{},[182],{"type":25,"value":183},"Sayfaya tek bir React bileşeni yerleştirmek",{"type":20,"tag":41,"props":185,"children":187},{"id":186},"react-kütüphane-mi-framework-mü",[188],{"type":25,"value":189},"React kütüphane mi, framework mü?",{"type":20,"tag":21,"props":191,"children":192},{},[193,195,202],{"type":25,"value":194},"Kütüphane. React arayüzü çizmekle ilgileniyor. Sayfalar arası yönlendirme (routing), sunucudan veri çekme düzeni, production için paketleme gibi konularda bir şey dayatmıyor. Bu yüzden react.dev, yeni bir uygulamaya doğrudan React ile değil, React üzerine kurulu bir framework ile başlamayı öneriyor. Önerdiği seçenekler Next.js (App Router), React Router ve native uygulamalar için Expo (",{"type":20,"tag":53,"props":196,"children":199},{"href":197,"rel":198},"https://react.dev/learn/creating-a-react-app",[57],[200],{"type":25,"value":201},"Creating a React App",{"type":25,"value":203},").",{"type":20,"tag":21,"props":205,"children":206},{},[207,209,215],{"type":25,"value":208},"Next.js'in React'e neyi eklediğini ",{"type":20,"tag":53,"props":210,"children":212},{"href":211},"/posts/next-js-nedir",[213],{"type":25,"value":214},"Next.js nedir",{"type":25,"value":216}," yazısında sıfırdan bir projeyle anlattım.",{"type":20,"tag":41,"props":218,"children":220},{"id":219},"reactin-temel-kavramları",[221],{"type":25,"value":222},"React'in temel kavramları",{"type":20,"tag":21,"props":224,"children":225},{},[226],{"type":25,"value":227},"Kavramları tek bir örnek üzerinden anlatmak daha kolay: ürün ekleyip alındı diye işaretleyebildiğiniz bir alışveriş listesi. İki dosyadan oluşuyor.",{"type":20,"tag":229,"props":230,"children":232},"h3",{"id":231},"bileşen-component-ve-jsx",[233],{"type":25,"value":234},"Bileşen (component) ve JSX",{"type":20,"tag":21,"props":236,"children":237},{},[238],{"type":25,"value":239},"Bir React bileşeni, ekranda ne görüneceğini döndüren bir JavaScript fonksiyonu. Listedeki tek bir ürün satırı:",{"type":20,"tag":241,"props":242,"children":247},"pre",{"className":243,"code":245,"language":246,"meta":7},[244],"language-tsx","type UrunProps = {\n  ad: string;\n  alindi: boolean;\n  onDegistir: () => void;\n};\n\nexport function Urun({ ad, alindi, onDegistir }: UrunProps) {\n  return (\n    \u003Cli>\n      \u003Clabel>\n        \u003Cinput type=\"checkbox\" checked={alindi} onChange={onDegistir} />\n        {alindi ? \u003Cs>{ad}\u003C/s> : ad}\n      \u003C/label>\n    \u003C/li>\n  );\n}\n","tsx",[248],{"type":20,"tag":77,"props":249,"children":250},{"__ignoreMap":7},[251],{"type":25,"value":245},{"type":20,"tag":21,"props":253,"children":254},{},[255,257,264],{"type":25,"value":256},"Fonksiyonun döndürdüğü HTML'e benzeyen kısım JSX. JSX, JavaScript dosyasının içinde işaretleme yazmayı sağlayan bir sözdizimi eklentisi. React dokümantasyonu ikisinin ayrı şeyler olduğunu, ama çoğu React kodunun JSX kullandığını söylüyor (",{"type":20,"tag":53,"props":258,"children":261},{"href":259,"rel":260},"https://react.dev/learn/writing-markup-with-jsx",[57],[262],{"type":25,"value":263},"Writing Markup with JSX",{"type":25,"value":265},"). Tarayıcı JSX'i doğrudan anlamıyor. Vite gibi bir araç onu derleme sırasında düz JavaScript'e çeviriyor.",{"type":20,"tag":21,"props":267,"children":268},{},[269,271,277],{"type":25,"value":270},"JSX'in ",{"type":20,"tag":53,"props":272,"children":274},{"href":273},"/posts/html-nedir",[275],{"type":25,"value":276},"HTML'den",{"type":25,"value":278}," birkaç farkı var:",{"type":20,"tag":280,"props":281,"children":282},"ul",{},[283,305,341,362],{"type":20,"tag":284,"props":285,"children":286},"li",{},[287,289,295,297,303],{"type":25,"value":288},"Süslü parantez ",{"type":20,"tag":77,"props":290,"children":292},{"className":291},[],[293],{"type":25,"value":294},"{ }",{"type":25,"value":296}," içine JavaScript yazılıyor. ",{"type":20,"tag":77,"props":298,"children":300},{"className":299},[],[301],{"type":25,"value":302},"{alindi ? \u003Cs>{ad}\u003C/s> : ad}",{"type":25,"value":304}," satırı ürün alındıysa adın üstünü çiziyor, alınmadıysa düz yazıyor.",{"type":20,"tag":284,"props":306,"children":307},{},[308,310,316,318,324,326,332,333,339],{"type":25,"value":309},"HTML'deki ",{"type":20,"tag":77,"props":311,"children":313},{"className":312},[],[314],{"type":25,"value":315},"class",{"type":25,"value":317}," yerine ",{"type":20,"tag":77,"props":319,"children":321},{"className":320},[],[322],{"type":25,"value":323},"className",{"type":25,"value":325},", ",{"type":20,"tag":77,"props":327,"children":329},{"className":328},[],[330],{"type":25,"value":331},"onclick",{"type":25,"value":317},{"type":20,"tag":77,"props":334,"children":336},{"className":335},[],[337],{"type":25,"value":338},"onClick",{"type":25,"value":340}," yazılıyor.",{"type":20,"tag":284,"props":342,"children":343},{},[344,346,352,354,360],{"type":25,"value":345},"Her etiket kapanmak zorunda: ",{"type":20,"tag":77,"props":347,"children":349},{"className":348},[],[350],{"type":25,"value":351},"\u003Cinput>",{"type":25,"value":353}," değil ",{"type":20,"tag":77,"props":355,"children":357},{"className":356},[],[358],{"type":25,"value":359},"\u003Cinput />",{"type":25,"value":361},".",{"type":20,"tag":284,"props":363,"children":364},{},[365,367,373],{"type":25,"value":366},"Bileşen adları büyük harfle başlıyor. React ",{"type":20,"tag":77,"props":368,"children":370},{"className":369},[],[371],{"type":25,"value":372},"\u003CUrun />",{"type":25,"value":374}," gördüğünde bunun bir HTML etiketi değil, sizin bileşeniniz olduğunu buradan anlıyor.",{"type":20,"tag":21,"props":376,"children":377},{},[378,380,386,388,394,396,402,404,410],{"type":25,"value":379},"Dosyanın uzantısı ",{"type":20,"tag":77,"props":381,"children":383},{"className":382},[],[384],{"type":25,"value":385},".tsx",{"type":25,"value":387},", yani TypeScript ile yazılmış JSX. En üstteki ",{"type":20,"tag":77,"props":389,"children":391},{"className":390},[],[392],{"type":25,"value":393},"type UrunProps",{"type":25,"value":395}," bileşenin hangi bilgileri beklediğini tarif ediyor. Düz JavaScript ile yazacaksanız bu kısmı silip dosyayı ",{"type":20,"tag":77,"props":397,"children":399},{"className":398},[],[400],{"type":25,"value":401},".jsx",{"type":25,"value":403}," yapmanız yetiyor. Tiplerin ne kazandırdığını ",{"type":20,"tag":53,"props":405,"children":407},{"href":406},"/posts/typescript-nedir",[408],{"type":25,"value":409},"TypeScript nedir",{"type":25,"value":411}," yazısında anlattım.",{"type":20,"tag":229,"props":413,"children":415},{"id":414},"props-bileşene-dışarıdan-veri-vermek",[416],{"type":25,"value":417},"Props: bileşene dışarıdan veri vermek",{"type":20,"tag":21,"props":419,"children":420},{},[421,427,428,434,436,442,444,450,452,458,460,465],{"type":20,"tag":77,"props":422,"children":424},{"className":423},[],[425],{"type":25,"value":426},"ad",{"type":25,"value":325},{"type":20,"tag":77,"props":429,"children":431},{"className":430},[],[432],{"type":25,"value":433},"alindi",{"type":25,"value":435}," ve ",{"type":20,"tag":77,"props":437,"children":439},{"className":438},[],[440],{"type":25,"value":441},"onDegistir",{"type":25,"value":443},", bileşenin props'ları (properties). Bileşeni kullanan taraf bu değerleri HTML attribute'u gibi veriyor: ",{"type":20,"tag":77,"props":445,"children":447},{"className":446},[],[448],{"type":25,"value":449},"\u003CUrun ad=\"Ekmek\" alindi={false} ... />",{"type":25,"value":451},". Props'lar sadece okunuyor, bileşen kendi props'unu değiştirmiyor. ",{"type":20,"tag":77,"props":453,"children":455},{"className":454},[],[456],{"type":25,"value":457},"Urun",{"type":25,"value":459}," bileşeni checkbox'a tıklandığını üst bileşene ",{"type":20,"tag":77,"props":461,"children":463},{"className":462},[],[464],{"type":25,"value":441},{"type":25,"value":466}," fonksiyonunu çağırarak haber veriyor.",{"type":20,"tag":229,"props":468,"children":470},{"id":469},"state-bileşenin-hatırladığı-veri",[471],{"type":25,"value":472},"State: bileşenin hatırladığı veri",{"type":20,"tag":21,"props":474,"children":475},{},[476],{"type":25,"value":477},"Listeyi tutan ana bileşen:",{"type":20,"tag":241,"props":479,"children":482},{"className":480,"code":481,"language":246,"meta":7},[244],"import { useState } from \"react\";\nimport { Urun } from \"./Urun\";\n\nconst baslangic = [\n  { id: 1, ad: \"Ekmek\", alindi: false },\n  { id: 2, ad: \"Süt\", alindi: true },\n  { id: 3, ad: \"Yumurta\", alindi: false },\n];\n\nexport default function App() {\n  const [urunler, setUrunler] = useState(baslangic);\n  const [yeni, setYeni] = useState(\"\");\n\n  function ekle() {\n    if (!yeni.trim()) return;\n    setUrunler([...urunler, { id: Date.now(), ad: yeni, alindi: false }]);\n    setYeni(\"\");\n  }\n\n  function degistir(id: number) {\n    setUrunler(\n      urunler.map((u) => (u.id === id ? { ...u, alindi: !u.alindi } : u)),\n    );\n  }\n\n  const kalan = urunler.filter((u) => !u.alindi).length;\n\n  return (\n    \u003Cmain>\n      \u003Ch1>Alışveriş listesi\u003C/h1>\n      \u003Cp>{kalan} ürün kaldı\u003C/p>\n      \u003Cul>\n        {urunler.map((u) => (\n          \u003CUrun\n            key={u.id}\n            ad={u.ad}\n            alindi={u.alindi}\n            onDegistir={() => degistir(u.id)}\n          />\n        ))}\n      \u003C/ul>\n      \u003Cinput\n        value={yeni}\n        onChange={(e) => setYeni(e.target.value)}\n        placeholder=\"Ürün ekle\"\n      />\n      \u003Cbutton onClick={ekle}>Ekle\u003C/button>\n    \u003C/main>\n  );\n}\n",[483],{"type":20,"tag":77,"props":484,"children":485},{"__ignoreMap":7},[486],{"type":25,"value":481},{"type":20,"tag":21,"props":488,"children":489},{},[490,496,498,504,506,512,514,519],{"type":20,"tag":77,"props":491,"children":493},{"className":492},[],[494],{"type":25,"value":495},"useState",{"type":25,"value":497},", bileşene her yeniden çizimde hatırlayacağı bir değer veriyor ve iki şey döndürüyor: değerin kendisi (",{"type":20,"tag":77,"props":499,"children":501},{"className":500},[],[502],{"type":25,"value":503},"urunler",{"type":25,"value":505},") ve onu değiştiren fonksiyon (",{"type":20,"tag":77,"props":507,"children":509},{"className":508},[],[510],{"type":25,"value":511},"setUrunler",{"type":25,"value":513},"). ",{"type":20,"tag":77,"props":515,"children":517},{"className":516},[],[518],{"type":25,"value":511},{"type":25,"value":520}," çağrıldığında React bileşeni yeni değerle yeniden çalıştırıyor.",{"type":20,"tag":21,"props":522,"children":523},{},[524,526,532,533,539],{"type":25,"value":525},"Dikkat edilecek nokta: diziyi yerinde değiştirmiyoruz. ",{"type":20,"tag":77,"props":527,"children":529},{"className":528},[],[530],{"type":25,"value":531},"urunler.push(...)",{"type":25,"value":317},{"type":20,"tag":77,"props":534,"children":536},{"className":535},[],[537],{"type":25,"value":538},"[...urunler, yeniUrun]",{"type":25,"value":540}," ile yeni bir dizi oluşturuyoruz. React bir değişiklik olduğunu yeni bir dizi ya da nesne gördüğünde anlıyor.",{"type":20,"tag":21,"props":542,"children":543},{},[544,550],{"type":20,"tag":77,"props":545,"children":547},{"className":546},[],[548],{"type":25,"value":549},"kalan",{"type":25,"value":551}," bir state değil, state'ten her seferinde hesaplanan bir değer. Ürün sayısını ayrıca bir state'te tutsaydık listeyle senkron tutmak bize kalırdı.",{"type":20,"tag":229,"props":553,"children":555},{"id":554},"listeler-key-ve-olaylar",[556],{"type":25,"value":557},"Listeler, key ve olaylar",{"type":20,"tag":21,"props":559,"children":560},{},[561,567,569,574,576,582,584,590],{"type":20,"tag":77,"props":562,"children":564},{"className":563},[],[565],{"type":25,"value":566},"urunler.map(...)",{"type":25,"value":568}," her ürün için bir ",{"type":20,"tag":77,"props":570,"children":572},{"className":571},[],[573],{"type":25,"value":372},{"type":25,"value":575}," döndürüyor. React'te liste göstermek için ayrı bir şablon sözdizimi yok, düz JavaScript'in ",{"type":20,"tag":77,"props":577,"children":579},{"className":578},[],[580],{"type":25,"value":581},"map",{"type":25,"value":583}," fonksiyonu kullanılıyor. ",{"type":20,"tag":77,"props":585,"children":587},{"className":586},[],[588],{"type":25,"value":589},"key={u.id}",{"type":25,"value":591}," her satıra kalıcı bir kimlik veriyor. React, liste değiştiğinde hangi satırın eklendiğini, silindiğini ya da yer değiştirdiğini bu anahtarla buluyor.",{"type":20,"tag":21,"props":593,"children":594},{},[595,601,602,608,610,616],{"type":20,"tag":77,"props":596,"children":598},{"className":597},[],[599],{"type":25,"value":600},"onClick={ekle}",{"type":25,"value":435},{"type":20,"tag":77,"props":603,"children":605},{"className":604},[],[606],{"type":25,"value":607},"onChange={...}",{"type":25,"value":609}," olay dinleyicileri. Düz JavaScript'teki ",{"type":20,"tag":77,"props":611,"children":613},{"className":612},[],[614],{"type":25,"value":615},"addEventListener",{"type":25,"value":617},"'ın JSX içindeki karşılığı.",{"type":20,"tag":229,"props":619,"children":621},{"id":620},"sonuç",[622],{"type":25,"value":623},"Sonuç",{"type":20,"tag":21,"props":625,"children":626},{},[627],{"type":25,"value":628},"Uygulamayı build alıp önizleme sunucusunda açtım ve Playwright ile Chrome'da tıkladım. Her adımdan sonra sayacı ve üstü çizili ürünleri okudum:",{"type":25,"value":104},{"type":20,"tag":106,"props":631,"children":632},{},[633,654],{"type":20,"tag":110,"props":634,"children":635},{},[636],{"type":20,"tag":14,"props":637,"children":638},{},[639,644,649],{"type":20,"tag":117,"props":640,"children":641},{},[642],{"type":25,"value":643},"Adım",{"type":20,"tag":117,"props":645,"children":646},{},[647],{"type":25,"value":648},"Sayaç",{"type":20,"tag":117,"props":650,"children":651},{},[652],{"type":25,"value":653},"Üstü çizili ürünler",{"type":20,"tag":128,"props":655,"children":656},{},[657,675,693],{"type":20,"tag":14,"props":658,"children":659},{},[660,665,670],{"type":20,"tag":135,"props":661,"children":662},{},[663],{"type":25,"value":664},"Sayfa açıldı",{"type":20,"tag":135,"props":666,"children":667},{},[668],{"type":25,"value":669},"2 ürün kaldı",{"type":20,"tag":135,"props":671,"children":672},{},[673],{"type":25,"value":674},"Süt",{"type":20,"tag":14,"props":676,"children":677},{},[678,683,688],{"type":20,"tag":135,"props":679,"children":680},{},[681],{"type":25,"value":682},"Ekmek işaretlendi",{"type":20,"tag":135,"props":684,"children":685},{},[686],{"type":25,"value":687},"1 ürün kaldı",{"type":20,"tag":135,"props":689,"children":690},{},[691],{"type":25,"value":692},"Ekmek, Süt",{"type":20,"tag":14,"props":694,"children":695},{},[696,701,705],{"type":20,"tag":135,"props":697,"children":698},{},[699],{"type":25,"value":700},"\"Peynir\" yazılıp Ekle'ye basıldı",{"type":20,"tag":135,"props":702,"children":703},{},[704],{"type":25,"value":669},{"type":20,"tag":135,"props":706,"children":707},{},[708],{"type":25,"value":692},{"type":20,"tag":21,"props":710,"children":711},{},[712],{"type":25,"value":713},"Kodun hiçbir yerinde \"sayacı güncelle\" ya da \"Ekmek'in üstünü çiz\" diye bir satır yok. State değişti, React ekranı ona göre yeniden çizdi. Konsolda hata yoktu.",{"type":20,"tag":41,"props":715,"children":717},{"id":716},"hook-nedir",[718],{"type":25,"value":719},"Hook nedir?",{"type":20,"tag":21,"props":721,"children":722},{},[723,728,730,736],{"type":20,"tag":77,"props":724,"children":726},{"className":725},[],[727],{"type":25,"value":495},{"type":25,"value":729}," gibi ",{"type":20,"tag":77,"props":731,"children":733},{"className":732},[],[734],{"type":25,"value":735},"use",{"type":25,"value":737}," ile başlayan fonksiyonlara hook deniyor. Fonksiyon bileşenlerine state ve yaşam döngüsü gibi özellikler ekliyorlar. React 16.8 ile Şubat 2019'da geldiler. Ondan önce state tutmak için class bileşeni yazmak gerekiyordu, bugün yeni kodda neredeyse sadece fonksiyon bileşenleri görüyorsunuz.",{"type":20,"tag":21,"props":739,"children":740},{},[741],{"type":25,"value":742},"En sık kullanılanlar:",{"type":25,"value":744},"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",{"type":20,"tag":106,"props":746,"children":747},{},[748,764],{"type":20,"tag":110,"props":749,"children":750},{},[751],{"type":20,"tag":14,"props":752,"children":753},{},[754,759],{"type":20,"tag":117,"props":755,"children":756},{},[757],{"type":25,"value":758},"Hook",{"type":20,"tag":117,"props":760,"children":761},{},[762],{"type":25,"value":763},"Ne işe yarar",{"type":20,"tag":128,"props":765,"children":766},{},[767,783,800,817,834],{"type":20,"tag":14,"props":768,"children":769},{},[770,778],{"type":20,"tag":135,"props":771,"children":772},{},[773],{"type":20,"tag":77,"props":774,"children":776},{"className":775},[],[777],{"type":25,"value":495},{"type":20,"tag":135,"props":779,"children":780},{},[781],{"type":25,"value":782},"Bileşenin hatırladığı bir değer",{"type":20,"tag":14,"props":784,"children":785},{},[786,795],{"type":20,"tag":135,"props":787,"children":788},{},[789],{"type":20,"tag":77,"props":790,"children":792},{"className":791},[],[793],{"type":25,"value":794},"useEffect",{"type":20,"tag":135,"props":796,"children":797},{},[798],{"type":25,"value":799},"Bileşeni bir dış sistemle senkron tutmak: zamanlayıcı, WebSocket bağlantısı, tarayıcı API'si",{"type":20,"tag":14,"props":801,"children":802},{},[803,812],{"type":20,"tag":135,"props":804,"children":805},{},[806],{"type":20,"tag":77,"props":807,"children":809},{"className":808},[],[810],{"type":25,"value":811},"useRef",{"type":20,"tag":135,"props":813,"children":814},{},[815],{"type":25,"value":816},"Ekrana yansımayan bir değer ya da bir DOM elemanına doğrudan erişim",{"type":20,"tag":14,"props":818,"children":819},{},[820,829],{"type":20,"tag":135,"props":821,"children":822},{},[823],{"type":20,"tag":77,"props":824,"children":826},{"className":825},[],[827],{"type":25,"value":828},"useContext",{"type":20,"tag":135,"props":830,"children":831},{},[832],{"type":25,"value":833},"Props'u katman katman taşımadan, uzaktaki bir bileşenden veri okumak",{"type":20,"tag":14,"props":835,"children":836},{},[837,853],{"type":20,"tag":135,"props":838,"children":839},{},[840,846,847],{"type":20,"tag":77,"props":841,"children":843},{"className":842},[],[844],{"type":25,"value":845},"useMemo",{"type":25,"value":325},{"type":20,"tag":77,"props":848,"children":850},{"className":849},[],[851],{"type":25,"value":852},"useCallback",{"type":20,"tag":135,"props":854,"children":855},{},[856],{"type":25,"value":857},"Pahalı bir hesabı ya da fonksiyonu yeniden oluşturmamak",{"type":20,"tag":21,"props":859,"children":860},{},[861,863,869],{"type":25,"value":862},"Hook'lar sadece React bileşenlerinden ya da kendi yazdığınız hook'lardan çağrılıyor ve her zaman fonksiyonun en üst seviyesinde duruyor. ",{"type":20,"tag":77,"props":864,"children":866},{"className":865},[],[867],{"type":25,"value":868},"if",{"type":25,"value":870}," ya da döngü içinde hook çağrılmıyor.",{"type":20,"tag":41,"props":872,"children":874},{"id":873},"react-nasıl-kurulur",[875],{"type":25,"value":876},"React nasıl kurulur?",{"type":20,"tag":21,"props":878,"children":879},{},[880,882,888],{"type":25,"value":881},"Node.js kurulu olmalı. Kurulumu ",{"type":20,"tag":53,"props":883,"children":885},{"href":884},"/posts/node-js-nedir",[886],{"type":25,"value":887},"Node.js nedir",{"type":25,"value":889}," yazısında anlattım. Sonra iki yol var.",{"type":20,"tag":21,"props":891,"children":892},{},[893,895,902],{"type":25,"value":894},"Framework olmadan, sadece React öğrenmek ya da tarayıcıda çalışan bir uygulama yapmak için Vite. react.dev'in \"sıfırdan React uygulaması\" sayfası da Vite ile başlıyor (",{"type":20,"tag":53,"props":896,"children":899},{"href":897,"rel":898},"https://react.dev/learn/build-a-react-app-from-scratch",[57],[900],{"type":25,"value":901},"Build a React app from Scratch",{"type":25,"value":903},"). Yukarıdaki örneği böyle kurdum:",{"type":20,"tag":241,"props":905,"children":910},{"className":906,"code":908,"language":909,"meta":7},[907],"language-bash","npm create vite@latest alisveris -- --template react-ts\ncd alisveris\nnpm install\nnpm run dev\n","bash",[911],{"type":20,"tag":77,"props":912,"children":913},{"__ignoreMap":7},[914],{"type":25,"value":908},{"type":20,"tag":21,"props":916,"children":917},{},[918,924,926,932,934,940],{"type":20,"tag":77,"props":919,"children":921},{"className":920},[],[922],{"type":25,"value":923},"npm run dev",{"type":25,"value":925}," geliştirme sunucusunu ",{"type":20,"tag":77,"props":927,"children":929},{"className":928},[],[930],{"type":25,"value":931},"http://localhost:5173",{"type":25,"value":933}," adresinde açıyor, dosyayı kaydettiğiniz anda tarayıcı güncelleniyor. Yayına almak için ",{"type":20,"tag":77,"props":935,"children":937},{"className":936},[],[938],{"type":25,"value":939},"npm run build",{"type":25,"value":941},":",{"type":20,"tag":241,"props":943,"children":947},{"className":944,"code":946,"language":25,"meta":7},[945],"language-text","vite v8.4.1 building client environment for production...\n✓ 16 modules transformed.\ndist/index.html                  0.39 kB │ gzip:  0.28 kB\ndist/assets/index-Cl0msx3a.js  219.88 kB │ gzip: 68.87 kB\n✓ built in 566ms\n",[948],{"type":20,"tag":77,"props":949,"children":950},{"__ignoreMap":7},[951],{"type":25,"value":946},{"type":20,"tag":21,"props":953,"children":954},{},[955,961],{"type":20,"tag":77,"props":956,"children":958},{"className":957},[],[959],{"type":25,"value":960},"dist",{"type":25,"value":962}," klasörü statik dosyalardan oluşuyor, herhangi bir statik hosting'e yüklenebiliyor.",{"type":20,"tag":21,"props":964,"children":965},{},[966,968,974],{"type":25,"value":967},"Sunucuda render, SEO ve API uçları gereken bir site için framework ile başlamak daha mantıklı. Next.js için komut ",{"type":20,"tag":77,"props":969,"children":971},{"className":970},[],[972],{"type":25,"value":973},"npx create-next-app@latest",{"type":25,"value":361},{"type":20,"tag":21,"props":976,"children":977},{},[978,980,986,988,995],{"type":25,"value":979},"Eski bir rehberde ",{"type":20,"tag":77,"props":981,"children":983},{"className":982},[],[984],{"type":25,"value":985},"create-react-app",{"type":25,"value":987}," görürseniz kullanmayın. React ekibi onu 14 Şubat 2025'te yeni projeler için kullanımdan kaldırdı (",{"type":20,"tag":53,"props":989,"children":992},{"href":990,"rel":991},"https://react.dev/blog/2025/02/14/sunsetting-create-react-app",[57],[993],{"type":25,"value":994},"Sunsetting Create React App",{"type":25,"value":203},{"type":20,"tag":41,"props":997,"children":999},{"id":998},"react-nextjs-ve-react-native-farkı",[1000],{"type":25,"value":1001},"React, Next.js ve React Native farkı",{"type":25,"value":1003},"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",{"type":20,"tag":106,"props":1005,"children":1006},{},[1007,1031],{"type":20,"tag":110,"props":1008,"children":1009},{},[1010],{"type":20,"tag":14,"props":1011,"children":1012},{},[1013,1016,1021,1026],{"type":20,"tag":117,"props":1014,"children":1015},{},[],{"type":20,"tag":117,"props":1017,"children":1018},{},[1019],{"type":25,"value":1020},"React",{"type":20,"tag":117,"props":1022,"children":1023},{},[1024],{"type":25,"value":1025},"Next.js",{"type":20,"tag":117,"props":1027,"children":1028},{},[1029],{"type":25,"value":1030},"React Native",{"type":20,"tag":128,"props":1032,"children":1033},{},[1034,1056,1079,1102],{"type":20,"tag":14,"props":1035,"children":1036},{},[1037,1041,1046,1051],{"type":20,"tag":135,"props":1038,"children":1039},{},[1040],{"type":25,"value":121},{"type":20,"tag":135,"props":1042,"children":1043},{},[1044],{"type":25,"value":1045},"Arayüz kütüphanesi",{"type":20,"tag":135,"props":1047,"children":1048},{},[1049],{"type":25,"value":1050},"React üzerine kurulu full stack web framework'ü",{"type":20,"tag":135,"props":1052,"children":1053},{},[1054],{"type":25,"value":1055},"React ile native mobil uygulama yapma aracı",{"type":20,"tag":14,"props":1057,"children":1058},{},[1059,1064,1069,1074],{"type":20,"tag":135,"props":1060,"children":1061},{},[1062],{"type":25,"value":1063},"Nerede çalışır",{"type":20,"tag":135,"props":1065,"children":1066},{},[1067],{"type":25,"value":1068},"Tarayıcı",{"type":20,"tag":135,"props":1070,"children":1071},{},[1072],{"type":25,"value":1073},"Tarayıcı ve sunucu",{"type":20,"tag":135,"props":1075,"children":1076},{},[1077],{"type":25,"value":1078},"Android ve iOS",{"type":20,"tag":14,"props":1080,"children":1081},{},[1082,1087,1092,1097],{"type":20,"tag":135,"props":1083,"children":1084},{},[1085],{"type":25,"value":1086},"Çıktı",{"type":20,"tag":135,"props":1088,"children":1089},{},[1090],{"type":25,"value":1091},"HTML elemanları",{"type":20,"tag":135,"props":1093,"children":1094},{},[1095],{"type":25,"value":1096},"HTML elemanları, sunucuda render edilmiş sayfalar",{"type":20,"tag":135,"props":1098,"children":1099},{},[1100],{"type":25,"value":1101},"Platformun kendi arayüz bileşenleri",{"type":20,"tag":14,"props":1103,"children":1104},{},[1105,1110,1115,1118],{"type":20,"tag":135,"props":1106,"children":1107},{},[1108],{"type":25,"value":1109},"Ortak olan",{"type":20,"tag":135,"props":1111,"children":1112},{},[1113],{"type":25,"value":1114},"Bileşen, JSX, props, state ve hook'lar üçünde de aynı",{"type":20,"tag":135,"props":1116,"children":1117},{},[],{"type":20,"tag":135,"props":1119,"children":1120},{},[],{"type":20,"tag":21,"props":1122,"children":1123},{},[1124],{"type":25,"value":1125},"React öğrendiğinizde Next.js ve React Native'in temelini de öğrenmiş oluyorsunuz. Değişen, etrafındaki araçlar.",{"type":20,"tag":41,"props":1127,"children":1129},{"id":1128},"react-mı-vue-mu",[1130],{"type":25,"value":1131},"React mı Vue mu?",{"type":20,"tag":21,"props":1133,"children":1134},{},[1135,1137,1143,1145,1151],{"type":25,"value":1136},"İkisi de bileşen tabanlı, ikisi de reaktif. Ben Vue tarafındayım, ama sayılar React'ten yana. npm'in verilerine göre 25 Kasım ile 1 Aralık 2026 arasındaki haftada ",{"type":20,"tag":77,"props":1138,"children":1140},{"className":1139},[],[1141],{"type":25,"value":1142},"react",{"type":25,"value":1144}," paketi yaklaşık 257 milyon, ",{"type":20,"tag":77,"props":1146,"children":1148},{"className":1147},[],[1149],{"type":25,"value":1150},"vue",{"type":25,"value":1152}," paketi yaklaşık 26 milyon kez indirildi. İndirme sayısı CI kurulumlarını da kapsıyor, o yüzden büyüklük sırası olarak okumak lazım. Ekosistem de aynı yönde: çoğu UI kütüphanesi, kimlik doğrulama servisi ve SDK örneklerini önce React için yazıyor, işe React bilen geliştirici bulmak da daha kolay.",{"type":20,"tag":21,"props":1154,"children":1155},{},[1156,1158,1164],{"type":25,"value":1157},"Benim tarafımda Nuxt'ın ağır bastığı yerler, render ve önbellek kararlarının adres bazında tek bir yapılandırma dosyasında durması ve modül sistemi. Next.js ile Nuxt'ı İngilizce olarak ",{"type":20,"tag":53,"props":1159,"children":1161},{"href":1160},"/posts/nuxt-vs-next",[1162],{"type":25,"value":1163},"Nuxt vs Next",{"type":25,"value":1165}," yazısında ayrıntılı karşılaştırdım. İş bulmak için tek bir framework öğrenecekseniz React daha güvenli bir seçim. İkisini aynı anda öğrenmeye çalışmayın, kavramlar birinden diğerine kolay taşınıyor.",{"type":20,"tag":41,"props":1167,"children":1169},{"id":1168},"reactin-kısa-tarihi",[1170],{"type":25,"value":1171},"React'in kısa tarihi",{"type":20,"tag":280,"props":1173,"children":1174},{},[1175,1188,1193,1198,1216,1229],{"type":20,"tag":284,"props":1176,"children":1177},{},[1178,1180,1187],{"type":25,"value":1179},"React'i Facebook'ta Jordan Walke geliştirdi. 29 Mayıs 2013'te açık kaynak olarak yayımlandı (",{"type":20,"tag":53,"props":1181,"children":1184},{"href":1182,"rel":1183},"https://en.wikipedia.org/wiki/React_(software)",[57],[1185],{"type":25,"value":1186},"Wikipedia",{"type":25,"value":203},{"type":20,"tag":284,"props":1189,"children":1190},{},[1191],{"type":25,"value":1192},"Hook'lar React 16.8 ile Şubat 2019'da geldi.",{"type":20,"tag":284,"props":1194,"children":1195},{},[1196],{"type":25,"value":1197},"React 19, 5 Aralık 2024'te çıktı.",{"type":20,"tag":284,"props":1199,"children":1200},{},[1201,1203,1208,1209,1214],{"type":25,"value":1202},"React Compiler'ın ilk kararlı sürümü 1.0, 7 Ekim 2025'te yayımlandı. Derleme sırasında bileşenleri otomatik olarak optimize ediyor, ",{"type":20,"tag":77,"props":1204,"children":1206},{"className":1205},[],[1207],{"type":25,"value":845},{"type":25,"value":435},{"type":20,"tag":77,"props":1210,"children":1212},{"className":1211},[],[1213],{"type":25,"value":852},{"type":25,"value":1215}," ihtiyacını azaltıyor.",{"type":20,"tag":284,"props":1217,"children":1218},{},[1219,1221,1228],{"type":25,"value":1220},"24 Şubat 2026'dan beri React, React Native ve JSX gibi projeler Meta'nın değil, Linux Foundation bünyesindeki bağımsız React Foundation'ın (",{"type":20,"tag":53,"props":1222,"children":1225},{"href":1223,"rel":1224},"https://react.dev/blog/2026/02/24/the-react-foundation",[57],[1226],{"type":25,"value":1227},"The React Foundation",{"type":25,"value":203},{"type":20,"tag":284,"props":1230,"children":1231},{},[1232,1234,1241],{"type":25,"value":1233},"React 19.3, 9 Eylül 2026'da çıktı. View Transitions ve Fragment Refs bu sürümle kararlı hale geldi (",{"type":20,"tag":53,"props":1235,"children":1238},{"href":1236,"rel":1237},"https://react.dev/blog/2026/09/09/react-19-3",[57],[1239],{"type":25,"value":1240},"React 19.3",{"type":25,"value":1242},"). Bu yazı yazılırken npm'deki son sürüm 19.3.1.",{"type":20,"tag":41,"props":1244,"children":1246},{"id":1245},"react-nasıl-öğrenilir",[1247],{"type":25,"value":1248},"React nasıl öğrenilir?",{"type":20,"tag":21,"props":1250,"children":1251},{},[1252],{"type":25,"value":1253},"Önerdiğim sıra:",{"type":20,"tag":1255,"props":1256,"children":1257},"ol",{},[1258,1305,1319,1324,1329],{"type":20,"tag":284,"props":1259,"children":1260},{},[1261,1266,1267,1273,1275,1280,1281,1287,1289,1295,1297,1303],{"type":20,"tag":53,"props":1262,"children":1263},{"href":273},[1264],{"type":25,"value":1265},"HTML",{"type":25,"value":325},{"type":20,"tag":53,"props":1268,"children":1270},{"href":1269},"/posts/css-nedir",[1271],{"type":25,"value":1272},"CSS",{"type":25,"value":1274}," ve JavaScript'in temelleri. Özellikle diziler, nesneler, ",{"type":20,"tag":77,"props":1276,"children":1278},{"className":1277},[],[1279],{"type":25,"value":581},{"type":25,"value":435},{"type":20,"tag":77,"props":1282,"children":1284},{"className":1283},[],[1285],{"type":25,"value":1286},"filter",{"type":25,"value":1288},", ok fonksiyonları, destructuring ve ",{"type":20,"tag":77,"props":1290,"children":1292},{"className":1291},[],[1293],{"type":25,"value":1294},"import",{"type":25,"value":1296},"/",{"type":20,"tag":77,"props":1298,"children":1300},{"className":1299},[],[1301],{"type":25,"value":1302},"export",{"type":25,"value":1304},". React kodunun büyük kısmı düz JavaScript.",{"type":20,"tag":284,"props":1306,"children":1307},{},[1308,1310,1317],{"type":25,"value":1309},"react.dev'deki ",{"type":20,"tag":53,"props":1311,"children":1314},{"href":1312,"rel":1313},"https://react.dev/learn",[57],[1315],{"type":25,"value":1316},"Quick Start",{"type":25,"value":1318}," sayfası. Sayfanın kendisi, günlük kullanılan React kavramlarının %80'ini anlattığını söylüyor. Ardından aynı bölümdeki Tic-Tac-Toe eğitimi.",{"type":20,"tag":284,"props":1320,"children":1321},{},[1322],{"type":25,"value":1323},"Vite ile kendi küçük projeniz: yapılacaklar listesi, hava durumu uygulaması, bir API'den veri çekip listeleyen bir sayfa.",{"type":20,"tag":284,"props":1325,"children":1326},{},[1327],{"type":25,"value":1328},"Bir router ve veri çekme. Sonra Next.js.",{"type":20,"tag":284,"props":1330,"children":1331},{},[1332],{"type":25,"value":1333},"TypeScript.",{"type":20,"tag":21,"props":1335,"children":1336},{},[1337,1339,1346,1348,1353,1355,1361,1363,1369],{"type":25,"value":1338},"Dokümantasyonun Türkçe çevirisi ",{"type":20,"tag":53,"props":1340,"children":1343},{"href":1341,"rel":1342},"https://tr.react.dev/learn",[57],[1344],{"type":25,"value":1345},"tr.react.dev",{"type":25,"value":1347}," adresinde. Çeviri ana siteden bir sürüm geride ve bazı sayfalar hâlâ İngilizce, en güncel hali ",{"type":20,"tag":53,"props":1349,"children":1351},{"href":1312,"rel":1350},[57],[1352],{"type":25,"value":60},{"type":25,"value":1354},". Arama sonuçlarında çıkan tr.legacy.reactjs.org ise eski dokümantasyon, class bileşenleriyle anlatıyor. Meslek olarak frontend ya da ",{"type":20,"tag":53,"props":1356,"children":1358},{"href":1357},"/posts/full-stack-developer-nedir",[1359],{"type":25,"value":1360},"full stack developer",{"type":25,"value":1362}," olmayı düşünüyorsanız sırayı ",{"type":20,"tag":53,"props":1364,"children":1366},{"href":1365},"/posts/yazilimci-nasil-olunur",[1367],{"type":25,"value":1368},"yazılımcı nasıl olunur",{"type":25,"value":411},{"type":20,"tag":41,"props":1371,"children":1373},{"id":1372},"sık-sorulan-sorular",[1374],{"type":25,"value":1375},"Sık sorulan sorular",{"type":20,"tag":229,"props":1377,"children":1379},{"id":1378},"react-türkçe-ne-demek",[1380],{"type":25,"value":1381},"React Türkçe ne demek?",{"type":20,"tag":21,"props":1383,"children":1384},{},[1385],{"type":25,"value":1386},"İngilizcede \"tepki vermek\" anlamına geliyor. Kütüphanenin adı çevrilmiyor, Türkçe metinlerde de React olarak geçiyor.",{"type":20,"tag":229,"props":1388,"children":1390},{"id":1389},"react-öğrenmek-ne-kadar-sürer",[1391],{"type":25,"value":1392},"React öğrenmek ne kadar sürer?",{"type":20,"tag":21,"props":1394,"children":1395},{},[1396],{"type":25,"value":1397},"JavaScript bilginize bağlı. Değişkenler, diziler, fonksiyonlar ve modüller oturmuşsa bileşen, JSX, props ve state kavramları react.dev'deki Quick Start ve Tic-Tac-Toe eğitimiyle öğreniliyor. Asıl zaman alan kısım, bu kavramlarla gerçek bir proje bitirmek. JavaScript temeliniz yoksa önce oradan başlayın.",{"type":20,"tag":229,"props":1399,"children":1401},{"id":1400},"react-nasıl-öğrenilir-1",[1402],{"type":25,"value":1248},{"type":20,"tag":21,"props":1404,"children":1405},{},[1406],{"type":25,"value":1407},"Önce HTML, CSS ve JavaScript. Sonra react.dev'in Learn bölümü ve her konudan sonra küçük bir uygulama. Yukarıdaki \"React nasıl öğrenilir?\" başlığında sırayı ve kaynakları verdim.",{"type":20,"tag":229,"props":1409,"children":1411},{"id":1410},"react-zor-mu",[1412],{"type":25,"value":1413},"React zor mu?",{"type":20,"tag":21,"props":1415,"children":1416},{},[1417],{"type":25,"value":1418},"React'in kendi API'si küçük: bileşen, JSX, props, state ve birkaç hook ile çoğu ekran yapılabiliyor. Zorlandığınız yerler genelde JavaScript'in kendisi (dizileri ve nesneleri kopyalayarak değiştirmek, asenkron kod) ve React'in etrafındaki seçimler: router, state yönetimi, veri çekme, framework. JavaScript'i iyi bilen biri için React'e geçiş kolay.",{"type":20,"tag":229,"props":1420,"children":1422},{"id":1421},"react-ücretsiz-mi",[1423],{"type":25,"value":1424},"React ücretsiz mi?",{"type":20,"tag":21,"props":1426,"children":1427},{},[1428,1430,1436],{"type":25,"value":1429},"Evet. React MIT lisanslı açık kaynak bir proje, ticari projelerde de ücretsiz kullanılabiliyor. Açık kaynak lisanslarının ne anlama geldiğini ",{"type":20,"tag":53,"props":1431,"children":1433},{"href":1432},"/posts/acik-kaynak-nedir",[1434],{"type":25,"value":1435},"açık kaynak nedir",{"type":25,"value":411},{"type":20,"tag":229,"props":1438,"children":1440},{"id":1439},"react-frontend-mi-backend-mi",[1441],{"type":25,"value":1442},"React frontend mi backend mi?",{"type":20,"tag":21,"props":1444,"children":1445},{},[1446,1448,1454],{"type":25,"value":1447},"Frontend. React arayüzü çiziyor. Next.js gibi framework'ler React bileşenlerini sunucuda da çalıştırabiliyor, ama veritabanı, kimlik doğrulama ve iş kuralları gibi backend işleri React'in değil, sunucu tarafının konusu. Bu ayrımı ",{"type":20,"tag":53,"props":1449,"children":1451},{"href":1450},"/posts/backend-nedir",[1452],{"type":25,"value":1453},"backend nedir",{"type":25,"value":411},{"type":20,"tag":229,"props":1456,"children":1458},{"id":1457},"react-native-nedir-react-ile-aynı-şey-mi",[1459],{"type":25,"value":1460},"React Native nedir, React ile aynı şey mi?",{"type":20,"tag":21,"props":1462,"children":1463},{},[1464,1466,1472,1473,1479,1480,1485,1486,1492],{"type":25,"value":1465},"Aynı değil, ama aynı temeli kullanıyor. React Native ile yazdığınız bileşenler HTML yerine Android ve iOS'un kendi arayüz elemanlarına dönüşüyor. Bileşen, props, state ve hook'lar aynı. ",{"type":20,"tag":77,"props":1467,"children":1469},{"className":1468},[],[1470],{"type":25,"value":1471},"div",{"type":25,"value":317},{"type":20,"tag":77,"props":1474,"children":1476},{"className":1475},[],[1477],{"type":25,"value":1478},"View",{"type":25,"value":325},{"type":20,"tag":77,"props":1481,"children":1483},{"className":1482},[],[1484],{"type":25,"value":21},{"type":25,"value":317},{"type":20,"tag":77,"props":1487,"children":1489},{"className":1488},[],[1490],{"type":25,"value":1491},"Text",{"type":25,"value":1493}," gibi farklı temel bileşenler kullanılıyor.",{"title":7,"searchDepth":1495,"depth":1495,"links":1496},2,[1497,1498,1499,1507,1508,1509,1510,1511,1512,1513],{"id":43,"depth":1495,"text":46},{"id":186,"depth":1495,"text":189},{"id":219,"depth":1495,"text":222,"children":1500},[1501,1503,1504,1505,1506],{"id":231,"depth":1502,"text":234},3,{"id":414,"depth":1502,"text":417},{"id":469,"depth":1502,"text":472},{"id":554,"depth":1502,"text":557},{"id":620,"depth":1502,"text":623},{"id":716,"depth":1495,"text":719},{"id":873,"depth":1495,"text":876},{"id":998,"depth":1495,"text":1001},{"id":1128,"depth":1495,"text":1131},{"id":1168,"depth":1495,"text":1171},{"id":1245,"depth":1495,"text":1248},{"id":1372,"depth":1495,"text":1375,"children":1514},[1515,1516,1517,1518,1519,1520,1521],{"id":1378,"depth":1502,"text":1381},{"id":1389,"depth":1502,"text":1392},{"id":1400,"depth":1502,"text":1248},{"id":1410,"depth":1502,"text":1413},{"id":1421,"depth":1502,"text":1424},{"id":1439,"depth":1502,"text":1442},{"id":1457,"depth":1502,"text":1460},"markdown","content:posts:react-nedir.md","content","posts/react-nedir.md","md",{"loc":4},[1529,1533,1537,1541,1544,1547,1551,1554,1558,1562,1567,1571,1575,1579,1583,1587,1591,1595,1599,1603,1608,1612,1617,1620,1624,1628,1632,1636,1640,1643,1647,1651,1654,1658,1661,1665,1669,1672,1676,1679,1683,1687,1691,1696,1701,1706,1710],{"_path":1530,"title":1531,"thumbnail":1532,"date":12,"lang":14},"/posts/programlama-dilleri","Programlama dilleri: hangi dil ne işe yarar? 2026 rehberi","/media/programlama-dilleri/thumbnail.jpg",{"_path":1269,"title":1534,"thumbnail":1535,"date":1536,"lang":14},"CSS nedir? Seçiciler, kutu modeli, Flexbox ve responsive tasarım","/media/css-nedir/thumbnail.jpg","2026-12-01",{"_path":1538,"title":1539,"thumbnail":1540,"date":1536,"lang":14},"/posts/cursor-nedir","Cursor nedir? Grok Build'e dönüşen yapay zekâ kod editörü ve Claude Code ile farkı","/media/cursor-nedir/thumbnail.jpg",{"_path":273,"title":1542,"thumbnail":1543,"date":1536,"lang":14},"HTML nedir? Etiketler, sayfa yapısı ve ilk HTML sayfanız","/media/html-nedir/thumbnail.jpg",{"_path":70,"title":1545,"thumbnail":1546,"date":1536,"lang":14},"JavaScript nedir? Ne işe yarar, nerede çalışır, nasıl öğrenilir?","/media/javascript-nedir/thumbnail.jpg",{"_path":1548,"title":1549,"thumbnail":1550,"date":1536,"lang":14},"/posts/kodlama-nedir","Kodlama nedir? Programlama dilleri ve ilk dil seçimi","/media/kodlama-nedir/thumbnail.jpg",{"_path":211,"title":1552,"thumbnail":1553,"date":1536,"lang":14},"Next.js nedir? React ile farkı, App Router ve ilk proje","/media/next-js-nedir/thumbnail.jpg",{"_path":1555,"title":1556,"thumbnail":1557,"date":1536,"lang":14},"/posts/sql-nedir","SQL nedir? Temel komutlar, JOIN ve PostgreSQL ile ilk sorgular","/media/sql-nedir/thumbnail.jpg",{"_path":1559,"title":1560,"thumbnail":1561,"date":1536,"lang":14},"/posts/yazilim-nedir","Yazılım nedir? Türleri, nasıl çalıştığı ve nasıl yapıldığı","/media/yazilim-nedir/thumbnail.jpg",{"_path":1563,"title":1564,"thumbnail":1565,"date":1566,"lang":14},"/posts/linux-nedir","Linux nedir? Çekirdek, dağıtımlar, Ubuntu ve temel komutlar","/media/linux-nedir/thumbnail.jpg","2026-11-30",{"_path":1568,"title":1569,"thumbnail":1570,"date":1566,"lang":14},"/posts/mcp-nedir","MCP nedir? Model Context Protocol nasıl çalışır ve Claude Code'a nasıl eklenir?","/media/mcp-nedir/thumbnail.jpg",{"_path":1432,"title":1572,"thumbnail":1573,"date":1574,"lang":14},"Açık kaynak nedir? Açık kaynak kodlu yazılımlar ve lisansları","/media/acik-kaynak-nedir/mit-lisansi.jpg","2026-11-28",{"_path":1576,"title":1577,"thumbnail":1578,"date":1574},"/posts/build-in-public","Building in public as a developer: what I share and what I keep","/media/build-in-public/thumbnail.jpg",{"_path":1580,"title":1581,"thumbnail":1582,"date":1574},"/posts/developer-portfolio","What goes in a developer portfolio: how I built mine in two parts","/media/developer-portfolio/thumbnail.jpg",{"_path":1584,"title":1585,"thumbnail":1586,"date":1574,"lang":14},"/posts/github-nedir","GitHub nedir, ne işe yarar? Git ile farkı ve ilk repo","/media/github-nedir/thumbnail.jpg",{"_path":1588,"title":1589,"thumbnail":1590,"date":1574},"/posts/how-to-build-a-chrome-extension","How to build a Chrome extension, from manifest to Web Store listing","/media/how-to-build-a-chrome-extension/thumbnail.jpg",{"_path":1592,"title":1593,"thumbnail":1594,"date":1574,"lang":14},"/posts/kisisel-web-sitesi","Kişisel web sitesi nasıl yapılır? Kendi sitemden adım adım","/media/kisisel-web-sitesi/thumbnail.jpg",{"_path":1596,"title":1597,"thumbnail":1598,"date":1574,"lang":14},"/posts/vibe-coding-nedir","Vibe coding nedir? Yapay zekâya kod yazdırmanın sınırları","/media/running-claude-code-on-a-server-in-parallel/thumbnail.jpg",{"_path":1600,"title":1601,"thumbnail":1602,"date":1574,"lang":14},"/posts/yazilim-gelistirici-ne-is-yapar","Yazılım geliştirici nedir, iş gününde neler yapar?","/media/cloudflare-turnstile-nestjs/thumbnail.png",{"_path":1604,"title":1605,"thumbnail":1606,"date":1607},"/posts/github-fake-team-scam","GitHub scam: my face is selling a product I never touched","/media/github-fake-team-scam/thumbnail.jpg","2026-11-25",{"_path":1609,"title":1610,"thumbnail":1602,"date":1611},"/posts/cloudflare-turnstile-nestjs","Adding Cloudflare Turnstile to NestJS with a captcha guard","2026-11-24",{"_path":1613,"title":1614,"thumbnail":1615,"date":1616,"lang":14},"/posts/api-nedir","API nedir? REST API, HTTP istekleri ve durum kodları","/media/api-nedir/thumbnail.jpg","2026-11-21",{"_path":1450,"title":1618,"thumbnail":1619,"date":1616,"lang":14},"Backend nedir, backend developer ne iş yapar? Frontend ile farkı","/media/backend-nedir/thumbnail.jpg",{"_path":1621,"title":1622,"thumbnail":1623,"date":1616,"lang":14},"/posts/bursa-gunubirlik-gezi-mudanya-koza-han-golyazi","Bursa günübirlik gezi: Mudanya, Koza Han, İskender ve Gölyazı","/media/a-short-trip-to-bursa/2.jpeg",{"_path":1625,"title":1626,"thumbnail":1627,"date":1616},"/posts/claude-code-headless","Claude Code headless mode: claude -p in scripts, CI and GitHub Actions","/media/claude-code-headless/thumbnail.jpg",{"_path":1629,"title":1630,"thumbnail":1631,"date":1616,"lang":14},"/posts/claude-code-nedir","Claude Code nedir, nasıl kurulur ve kullanılır?","/media/claude-code-nedir/thumbnail.jpg",{"_path":1633,"title":1634,"thumbnail":1635,"date":1616},"/posts/claude-code-skills","Claude Code skills: what they are and how to write one","/media/claude-code-skills/thumbnail.jpg",{"_path":1637,"title":1638,"thumbnail":1639,"date":1616,"lang":14},"/posts/docker-nedir","Docker nedir? Image, container, kurulum ve Docker Compose","/media/docker-nedir/thumbnail.jpg",{"_path":1357,"title":1641,"thumbnail":1642,"date":1616,"lang":14},"Full stack developer nedir, ne iş yapar, nasıl olunur?","/media/full-stack-developer-nedir/thumbnail.jpg",{"_path":1644,"title":1645,"thumbnail":1646,"date":1616,"lang":14},"/posts/istanbul-yazilim-sirketleri","İstanbul yazılım şirketleri: nasıl seçilir ve kimler var? (2026)","/media/istanbul-yazilim-sirketleri/thumbnail.jpg",{"_path":1648,"title":1649,"thumbnail":1650,"date":1616},"/posts/nestjs-vs-express","NestJS vs Express: the same endpoint in both, and when to pick which","/media/nestjs-vs-express/thumbnail.jpg",{"_path":884,"title":1652,"thumbnail":1653,"date":1616,"lang":14},"Node.js nedir? Event loop, npm ve ilk HTTP sunucusu","/media/node-js-nedir/thumbnail.jpg",{"_path":1655,"title":1656,"thumbnail":1657,"date":1616},"/posts/nuxt-seo","Nuxt SEO: the setup I use on this site, with the real config","/media/nuxt-seo/thumbnail.jpg",{"_path":1160,"title":1659,"thumbnail":1660,"date":1616},"Nuxt vs Next: an honest comparison from someone who ships Nuxt","/media/nuxt-vs-next/thumbnail.jpg",{"_path":1662,"title":1663,"thumbnail":1664,"date":1616,"lang":14},"/posts/prometheus-grafana-nedir","Prometheus nedir, Grafana nedir? node_exporter ile sunucu izleme","/media/prometheus-grafana-nedir/thumbnail.jpg",{"_path":1666,"title":1667,"thumbnail":1668,"date":1616},"/posts/teleparty-alternative","Teleparty alternative: free ways to watch together online","/media/teleparty-alternative/thumbnail.jpg",{"_path":406,"title":1670,"thumbnail":1671,"date":1616,"lang":14},"TypeScript nedir? JavaScript'e ne ekler, tsconfig nasıl ayarlanır?","/media/typescript-nedir/thumbnail.jpg",{"_path":1673,"title":1674,"thumbnail":1675,"date":1616,"lang":14},"/posts/yazilimci-maaslari-2026","Yazılımcı ve yazılım mühendisi maaşları 2026: kıdem, pozisyon, şehir","/media/yazilimci-maaslari-2026/thumbnail.jpg",{"_path":1365,"title":1677,"thumbnail":1678,"date":1616,"lang":14},"Yazılımcı nasıl olunur? Yazılım öğrenmek için pratik bir yol","/media/yazilimci-nasil-olunur/thumbnail.jpg",{"_path":1680,"title":1681,"thumbnail":1598,"date":1682},"/posts/running-claude-code-on-a-server-in-parallel","How I run multiple Claude Code agents in parallel on a server","2026-11-18",{"_path":1684,"title":1685,"thumbnail":1686,"date":1682},"/posts/small-web-tools-json-to-excel-steam-deck-watchbear","Small web tools I made: JSON to Excel, Steam Deck web apps, Watchbear","/media/small-web-tools-json-to-excel-steam-deck-watchbear/thumbnail.jpg",{"_path":1688,"title":1689,"thumbnail":1690,"date":1682,"lang":14},"/posts/udf-dosyasi-nasil-acilir-pdf-word-cevirme","UDF dosyası nasıl açılır, PDF'ye ve Word'e nasıl çevrilir?","/media/udf-dosyasi-nasil-acilir-pdf-word-cevirme/thumbnail.jpg",{"_path":1692,"title":1693,"thumbnail":1694,"date":1695},"/posts/i-built-a-free-chrome-extension-to-watch-any-video-in-sync-with-friends","I built a free Chrome extension to watch any video in sync with friends","/media/i-built-a-free-chrome-extension-to-watch-any-video-in-sync-with-friends/thumbnail.jpg","2026-06-28",{"_path":1697,"title":1698,"thumbnail":1623,"date":1699,"lang":1700},"/posts/a-short-trip-to-bursa","A day trip to Bursa: Mudanya, Koza Han, Iskender and Gölyazı","2026-06-01","en",{"_path":1702,"title":1703,"thumbnail":1704,"date":1705},"/posts/embedding-metabase-dashboard-on-nuxt-app","Embedding a Metabase dashboard in a Nuxt 3 app","/media/embedding-metabase-dashboard-on-nuxt-app/thumbnail.png","2024-06-28",{"_path":1707,"title":1708,"thumbnail":1709,"date":1705},"/posts/grafana-deep-dive","Grafana Docker Compose setup with Prometheus and node_exporter","/media/grafana-deep-dive/thumbnail.png",{"_path":1711,"title":1712,"thumbnail":1713,"date":1714},"/posts/deploy-express-app-on-vercel","Deploying an Express.js application on Vercel","/thumbnails/express-app.jpg","2023-11-06",null,1796247415899]