react Component is not updating after context value changes
i wanted to create a markdown editor that will preview the markdown code to a window
so on the left top section there is a reset button appears when (not the one which is already there)
you click some section from bottom
delete is working fine but
when someone will click on that reset button the value inside the code editor should get reset
but when i am clicking the reset button the value is changing but the value inside Monaco-editor is not changing