Giter VIP home page Giter VIP logo

react-redux-axios-crud's People

Contributors

tienbku avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

react-redux-axios-crud's Issues

Class Component to Function component

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

Cannot read property 'prefix_exceptions' of undefined

Getting below error when trying to run this project

Failed to compile.

./src/App.css (./node_modules/css-loader/dist/cjs.js??ref--5-oneOf-4-1!./node_modules/postcss-loader/src??postcss!./src/App.css)
TypeError: Cannot read property 'prefix_exceptions' of undefined
at Array.map ()

No Issue, just tutorial request

Hello, sorry before I used the issues feature, I think the best way to communicate with you @tienbku @bezkoder is via github

Thanks for the great article at bezkoder.com Currently I'm learning React completely from the beginning, and I think you are a master at this, your code is neat, structured, and your tutorial is very easy to understand for people as stupid as me :)

This is a request, so please ignore it if you think you don't have to. your series especially for React Hooks and Redux is very good, but right now I have a need for a material-ui table view with the form create, view, update, via pop up / modal. more or less mockup/ui is the same when you write on "React Table example: CRUD App | react-table 7"

By combining your tutorial, I managed to get it working well, but my code is very messy and difficult to develop, I would like to see you manage the code if it is made by an experienced person.

  1. The tutorial is have two series
    • with react hooks
    • with redux
  2. Use material ui, feature on this CRUD
    • have search input
    • pagination, and sorting from backend / api
    • have individual, selected, or batch(all) delete
    • have confirmation dialog before delete
    • have some success alert / notification, if create, update or delete is success
  3. Code structure
    • for create and update, use one file form, so no duplication/repetition to write form ui and field on create and update
    • (question) for field / entities variable can store in some (maybe) like entities folder (post.js, post_category.js) ? so code like this
      const initialTutorialState = { id: null, category_id: null, name: "", description: "", published: false }; can use on Table, View, Create or Update js file, no repetition to define twice
    • on some form, has a drop down, where it fetches from the database, I'll explain in the database section (post:category_id)
    • have photo for upload function
  4. Database
    • post_category: id, name, description
    • post:id, category_id, name, slug, content, photo, published, created_at

Please close this issue if you have read it, this is only a request, you don't have to do it if you don't want to
Thanks for everything, for your tutorial, and code structure management master :)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.