ElektraInitiative / PermaplanT

https://www.permaplant.net
BSD 3-Clause "New" or "Revised" License
16 stars 13 forks source link

Extract pure functions from components to increase testability. #1309

Open badnames opened 7 months ago

badnames commented 7 months ago

Tasks

We may be able to achieve better testability in PermaplanTs frontend by extracting certain pieces of code as pure functions from React-Components.

Use case

No response

Related Pull request

No response

markus2330 commented 6 months ago

Is this the same as the point "testability: extract methods into util files to make it easier to test simple methods" in #1152?