Giter VIP home page Giter VIP logo

simple-reactjs-app's Issues

Can add a HOC

A great starting template.

I just wanted to give a suggestion that we can try to put the different pages inside a higher order component which contains a navbar and footer and the page is rendered in between. Ex:


<Navbar />
<Outlet />
<Footer />


This can be a even better template for beginners to start the project with.
Do let me know if you want me to add these features to this web app.

TypeError: this.state.customerDetails.data.map is not a function

Hi @aditya-sridhar , I am trying to replicate the 3 panel view below the 3 profiles, after I clicked the button "Click to view details". Is something like a family tree, where I click to view details of the father and out pops his 3 children at the bottom.

I changed the customer1.json file into a similar format as the customerlist.json and then change the render part in CustomerDetails.js to the following (trying to replicate that in Customers.js) and encountered the errors:

  • TypeError: this.state.customerDetails.data.map is not a function) and Unhandled Rejection
  • (TypeError): this.state.customerDetails.data.map is not a function

This is the part that I changed in CustomerDetails.js
Screenshot 2020-01-22 at 3 38 01 PM

Containerizing Application

@aditya-sridhar ๐Ÿ‘‹๐Ÿผ

great project! do you want me to containerize the application? It is a simple change.

basically, any user can get up and running quickly by just running a docker container.

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.