react-redux-axios-crud icon indicating copy to clipboard operation
react-redux-axios-crud copied to clipboard

Class Component to Function component

Open centralcybersecurity opened this issue 3 years ago • 2 comments

Hi, thank you for the great code, its great for learning react-redux. I am facing some issues in converting the Tutorial.js from class component to a functional component and also adding a filter to the data. Do you have some time to show how to convert and add filter?

Thanks again

centralcybersecurity avatar Nov 13 '22 14:11 centralcybersecurity

Hi,

You can read following tutorial (with Github also):

https://www.bezkoder.com/redux-toolkit-crud-react-hooks/

Best Regards, BezKoder.

On Sun, Nov 13, 2022, 21:15 laravelCoder @.***> wrote:

Hi, thank you for the great code, its great for learning react-redux. I am facing some issues in converting the Tutorial.js from class component to a functional component and also adding a filter to the data. Do you have some time to show how to convert and add filter?

Thanks again

— Reply to this email directly, view it on GitHub https://github.com/bezkoder/react-redux-axios-crud/issues/3, or unsubscribe https://github.com/notifications/unsubscribe-auth/AMUKWZXYI6HLOAIK7NMDKNTWIDZWXANCNFSM6AAAAAAR7BSS6I . You are receiving this because you are subscribed to this thread.Message ID: @.***>

bezkoder avatar Nov 13 '22 14:11 bezkoder

Thank you, Bezkoder. Do you have any tutorial for filtering by category_id and pagination?

Also, I am seeing soo many variations: react-redux, redux-toolkit and react-hooks. As a beginner, what would you advise me to focus on out of these 3 options? I'm getting confused.

Just to give context: I want a cleaner and more structured code, not looking for an easy way out.

Thanks for your efforts.

centralcybersecurity avatar Nov 13 '22 15:11 centralcybersecurity