Skip to content
This repository has been archived by the owner on Feb 16, 2023. It is now read-only.

New Version of my MemeGenerator project. It utilizes reduxjs/toolkit, react-router-dom v6 and redux-persist.

Notifications You must be signed in to change notification settings

ahmettulutas/MemeGeneratorV2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MemeGeneratorV2

In this project I used @reduxjs/toolkit and redux-persist. You can find an example for createAsyncThunk below.

gif

export const loadAllMemes = createAsyncThunk(
  "allMemes/loadAllMemes",
  async (_, {getState}) => {
    try {
      const response = await fetch("https://api.imgflip.com/get_memes");
      const json = await response.json();
      return json.data;
    }
    catch(error) {
      console.log(error)
    }
  },
  
);

Türkçe

@reduxjs/toolkit ve redux-persist kütüphanelerini kombine ettiğim bir uygulama. İyi eğlenceler :)

About

New Version of my MemeGenerator project. It utilizes reduxjs/toolkit, react-router-dom v6 and redux-persist.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published