- 
                Notifications
    You must be signed in to change notification settings 
- Fork 56
Open
Description
Currently, the package relies on renderContent, renderAvatar, and other places where JSX is directly returned. This creates some limitations:
- When fetching data from the backend, we need to iterate through the list and manually refactor each usage.
- Extending or customizing rendering logic requires modifying multiple parts of the code.
Proposal
Introduce a more flexible rendering mechanism where the app can pass a function that receives a data[i] item as an argument and returns the appropriate component.
Benefits:
- Cleaner and more scalable architecture
- Simplified integration with backend data
- Better performance by avoiding unnecessary re-renders
- Easier to maintain and extend for custom use cases
Metadata
Metadata
Assignees
Labels
No labels