python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
Export and import functions and code from one file to another in R
I am just starting to work with R, and this has probably been answered previously. In other languages like Javascript and Python, one can split their code in multiple files and then export functions f...
Coola
Votes: 0
Answers: 1
How do I create a Reusable/Global Button Component in Nuxtjs or vuejs?
We've all been here. Good code avoids repetition. If you repeat the same code in more than one file, how about making it a component? Use your own threshold/judgement to measure if the code really nee...
Kibiku Brian
Votes: 0
Answers: 1
how can i type this axios request function properly and make it reusable using typescript
The purpose of the code below is to be resuable across projects maybe with slight modifications
The OnSuccess function handles the AxiosResponse
The OnError function handles the AxiosError
How can I...
princemuel
Votes: 0
Answers: 0
I want to play each button for each video in pure JS
I have a page where I have multiple videos I created one custom button to play video
The problem is I want to write a single JS to achieve this without writing multiple js code for each video
<vide...
taruuunnn
Votes: 0
Answers: 2