<!-- BEFORE POSTING YOUR ISSUE: - These comments won't show up when you submit the issue. - Please use the sections below to provide information about the issue. - Be specific: Add as much detail as possible. --> ## Issue Overview Hardcoding resource path inside UserInfoForm makes it pretty much unusable ## Describe your environment Branch 04_06e - https://github.com/LinkedInLearning/react-design-patterns-2895130/blob/04_06e/src/UserInfoForm.js UserInfoForm component has resource path and resource name hardcoded inside! This makes it impossible to specify a user in the App component. ## Possible Solution Why not specify resourcePath and resourceName in the JSX as a property to UserInfoForm???!!! https://github.com/kalmanh/react-design-patterns-2895130/tree/04_06_kalman https://github.com/kalmanh/react-design-patterns-2895130/blob/04_06_kalman/src/withEditableResource.js#L6-L8
Activity