how to use useEffect in server actions? that'll stop SSR then
Answered
Sloth bear posted this in #help-forum
![Avatar](https://cdn.discordapp.com/embed/avatars/0.png)
Sloth bearOP
how can I do that? then SSR will stop, why am I using react then?
Answered by Anay-208 | Ping For Help
another use client file, import it to use server file
8 Replies
![Avatar](https://cdn.discordapp.com/avatars/755810867878297610/5ab9ece60bc14c554a7376a599d3deb3.webp?size=256)
Anay-208 | Ping For Help
why not create another file for it
![Avatar](https://cdn.discordapp.com/avatars/755810867878297610/5ab9ece60bc14c554a7376a599d3deb3.webp?size=256)
Anay-208 | Ping For Help
another use client file, import it to use server file
Answer
![Avatar](https://cdn.discordapp.com/avatars/755810867878297610/5ab9ece60bc14c554a7376a599d3deb3.webp?size=256)
Anay-208 | Ping For Help
SSR will be on
![Avatar](https://cdn.discordapp.com/embed/avatars/0.png)
Sloth bearOP
Oh sorry, didn't think of it. How stupid it was of me
![Avatar](https://cdn.discordapp.com/avatars/755810867878297610/5ab9ece60bc14c554a7376a599d3deb3.webp?size=256)
Anay-208 | Ping For Help
Can you mark my message as a solution by going to apps>mark solution
thanks
![Avatar](https://cdn.discordapp.com/embed/avatars/0.png)
Sloth bearOP
And thanks for quick response
![Avatar](https://cdn.discordapp.com/avatars/755810867878297610/5ab9ece60bc14c554a7376a599d3deb3.webp?size=256)
Anay-208 | Ping For Help
feel free to ping me after creating a #help-forum when you need any help