hi everyone, page refresh when user click on submit button.
I am using nodejs and express-validator for form. but when user click on submit button page refresh. both request get and post are for home route. but still it refresh the page. can anyone help me? it would be help you …
i am getting some unknown error after deploying in heroku
2020-12-17T19:27:10.072776+00:00 app[web.1]: npm ERR! [email protected] start: node index.js 2020-12-17T19:27:10.073174+00:00 app[web.1]: npm ERR! Exit status 1 2020-12-17T19:27:10.073422+00:00 app[web.1]: npm ERR! 2020-12-17T19:27:10.073706+00:00 app[web.1]: npm ERR! Failed at…
Best way to expose a package's endpoints?
I'm working on a simple library which basically just consist of a single utility function. I want to make the library work everywhere. What the best way to export it? I'm current exporting it in formats: esm, cjs and umd. Is there any other formats I should also built it to? …
hi guys. I have npm library which makes a GET request using node-fetch. I am using that library in a vuejs app. The problem is, when that API gets called, I get this error in the console. TypeError: 'fetch' called on an object that does not implement interface Window. I have…