1uphealth / fhir-react

FHIR React Component Library
MIT License
99 stars 30 forks source link

Convert `ResourceContainer` from class to functional component #397

Open jocelynn1uphealth opened 1 year ago

jocelynn1uphealth commented 1 year ago

Background:

Functional components are smaller, more performant, and more modern than legacy class-based ones. Let's convert the ResourceContainer class to a functional component to improve the bundle size + performance of this library

Expected Behavior:

patrick-1upHealth commented 1 year ago

@jocelynn1uphealth Looks like this one is already a class-based component. We'll still need to revisit this one after the TypeScript issue is finished.