Creating a middleware with react using useRef and useContext hooks
The project was to create a pipeline or a flowchart in the frontend and send the flowchart information to the backend for further processing. We used reactflow package to create a flow diagram by dragging and dropping nodes to the canvas in the front...
forehead.dev6 min read
Pratik Sharma
Developer || Learner
Good read. Loved the story telling as well. Needless you can use the middleware to save the data in local storage as well( if it has any business logic for your application).