SilverShade
Explore posts from serversDisplay HTTP POST response error in a component
Hey guys, i'm completely new to frontend development, so i need help with some basic stuff.
I send a POST request to my backend API and i somehow need to handle the API response: On success i want to redirect the user to a different page, and on error i want to display the error in my component. How do i do that?
3 replies
ThreadPool implementation with WSQ
I'm trying to implement a simple version of ThreadPool with work stealing queues. It seems like i'm missing something, but can't see what. My implementation with WSQs is actually slower than without them.
The implementation of a work stealing queue (WorkStealingQueue class) was provided for me, so you can assume it's not the issue. I'll provide my code in the messages below.
3 replies