S
SolidJS14mo ago
Abrinzer

CreateEffect in a separate JS file

One of my component is having too many createEffects which looks quite messed up and cumbersome. I want to refactor it and keep those in a separate files. What are the possible ways to do it ? Would appreciate your help!
1 Reply
aquarazorda
aquarazorda14mo ago
Export them as functions and call them where it's needed