Open in app

Sign In

Write

Sign In

Zafer Ayan
Zafer Ayan

1.8K Followers

Home

About

Feb 23

Fetch vs Axios. Which one to choose?

The Fetch vs Axios debate has been going on for years and recently it has come up again. I will talk about the disadvantages of using the Fetch API directly instead of using a network library like Axios. First of all, let’s point out the shortcomings of the Fetch API: …

Fetch

6 min read

Fetch vs Axios. Which one to choose?
Fetch vs Axios. Which one to choose?
Fetch

6 min read


Feb 23

Fetch vs Axios. Hangisini tercih etmeli?

İngilizcesi için: https://zaferayan.medium.com/fetch-vs-axios-which-one-to-choose-e76872062820 Fetch ve Axios tartışmaları yıllardır olduğu gibi son zamanlarda da yine ortaya çıktı. Axios gibi bir network kütüphanesi kullanmak yerine Fetch API’ı direkt kullanmanın neden dezavantajlı olduğundan bahsedeceğim. Öncelikle Fetch API’daki eksiklikleri belirtelim: TLDR: Response’u JSON’a çevirmek için ayrıca dönüştürmek gerekiyor

Fetch

5 min read

Fetch vs Axios. Hangisini tercih etmeli?
Fetch vs Axios. Hangisini tercih etmeli?
Fetch

5 min read


Jul 27, 2022

Kod karmaşıklığı giderme teknikleri

Dün #TeknasyonTechMorning yayınında bahsetmek üzere Daniel Sieger’in Your Code Doesn’t Have to Be a Mess isminde blog yazısına denk gelmiştim. Yazıdan aldığım notları da Medium üzerinde de paylaşmaya karar verdim.

Kodlama

3 min read

Kod karmaşıklığı giderme teknikleri
Kod karmaşıklığı giderme teknikleri
Kodlama

3 min read


Jun 17, 2022

React — Haziran 2022 güncellemeleri

Bildiğiniz gibi React ekibi 18 sürümü üzerinde çalışıyor. 15 haziran tarihinde React’in gelmiş olduğu son durumu bir yazı ile güncelleme geçtiler (https://reactjs.org/blog/2022/06/15/react-labs-what-we-have-been-working-on-june-2022.html). Bu yazımda da güncellemeden edindiğim notları sizlerle paylaşacağım. Server Components 2020 Aralıktaki deneysel bir demo yapmışlardı ve ben de bu güncellemeleri devnot kanalında aktarmıştım: https://www.youtube.com/watch?v=X-_0ACXSE9I&t=2726s

React

5 min read

React — Haziran 2022 güncellemeleri
React — Haziran 2022 güncellemeleri
React

5 min read


Published in Teknasyon Engineering

·Mar 10, 2022

Deep dive into React Native JSI

In November of last year, I spoke about React Native JSI architecture. And in this article, I will talk about the new architecture and how to use it in our projects. But first of all, we need to mention old React Native Architecture. How old React Native Architecture works As some of you know, in React…

React Native

11 min read

Deep dive into React Native JSI
Deep dive into React Native JSI
React Native

11 min read


Mar 6, 2022

How to write a test for network requests in React components?

In React Applications, we may want to test some network requests and sometimes we cannot even reach to server. Therefore we need to mock global.fetch to test network requests properly. Lets say we have a component that renders GitHub user when user clicked the Get user button:

React

3 min read

How to write a test for network requests in React components?
How to write a test for network requests in React components?
React

3 min read


Mar 4, 2022

How to squash last X commits after they have been pushed

Sometimes you push your changes in PR and code owners may want you to squash commits. So how we squash commits that have been pushed? First of all, we need to rebase last commits. For example let’s say we want to squash 3 commits as one: git rebase -i zafer/fix_bug~3…

Git

2 min read

How to squash last X commits after they have been pushed
How to squash last X commits after they have been pushed
Git

2 min read


Mar 2, 2022

How to remove a specified item from the object array in JavaScript?

In JavaScript, there is no obvious method for removing elements from an array. There is a pop() function that exists but it only removes items from the end of an array. The old but gold splice method can remove items from the specified index. We can use it like fruits.splice(itemIndex…

JavaScript

1 min read

How to remove a specified item from the object array in JavaScript?
How to remove a specified item from the object array in JavaScript?
JavaScript

1 min read


Mar 1, 2022

How to configure ESLint and Prettier for Expo projects

In Expo projects, eslint and prettier are doesn’t configured by default. So we need to configure ourselves. For this reason, Expo team made a package named eslint-config-universe to configure these tools. Lets begin how to configure this package to our project. Installation We can add eslint-config-universe for development dependices as below: …

Expo

2 min read

How to configure ESLint and Prettier for Expo projects
How to configure ESLint and Prettier for Expo projects
Expo

2 min read


Sep 6, 2021

React Native JSI’a Derinlemesine Bakış

Önceki yazımda React Native’in yeni mimarisinin ne gibi özelliklere sahip olacağına değinmiştim. Aradan yaklaşık 1.5 yıl geçtikten sonra yeni mimarinin yapısı giderek olgunlaştı ve reanimated gibi kütüphaneler de geçiş yapmaya başladı. React Native EU 2021 konferansında sektörün önde gelen isimleri React Native’deki yeni mimariden ve diğer yeniliklerden bahsetti. Bu isimlerden…

React Native

9 min read

React Native JSI’a Derinlemesine Bakış
React Native JSI’a Derinlemesine Bakış
React Native

9 min read

Zafer Ayan

Zafer Ayan

1.8K Followers
Following
  • Buğra Yetkin

    Buğra Yetkin

  • Evan Bacon

    Evan Bacon

  • Christian Heilmann

    Christian Heilmann

  • Fatih Kadir Akın

    Fatih Kadir Akın

  • Hatice Dağlı

    Hatice Dağlı

Help

Status

Writers

Blog

Careers

Privacy

Terms

About

Text to speech