React Js : Need To Replicate The Code For Different Tables And Getting Undefined Exception When I Do That
I am trying to replicate the code for other tables with add and remove option but getting not defined exception on map when I do that . The code I have referred to is over [here][1
Solution 1:
At the top, you should have this:
importReact, { Component } from'react';
importPropTypesfrom'prop-types';
PropTypes is not exported directly from react. Also, displayForms should be DisplayForms - React components have to start with a capital letter.
Post a Comment for "React Js : Need To Replicate The Code For Different Tables And Getting Undefined Exception When I Do That"