tiqi-group / pydase

A Python library for creating remote control interfaces of Python objects.
https://pydase.readthedocs.io
MIT License
1 stars 1 forks source link

Fixes unnecessary component rendering #138

Closed mosmuell closed 2 months ago

mosmuell commented 2 months ago

Components are re-rendered when the props passed have changed. this works well, unless state objects are passed as they always have different references. For some components, I have introduces a function that overwrites how React.memo checks if a component has changed.

This fixes #112.