Sofiane Baddag
Sofiane Baddag
You need to wait until Promise is solved. If you have an array of Promise, use Promise.all(your array).then() . If you have only one value, you'll probably go for a...
My advice put every line in a array. Then map the array to make promise for each line. Then use promise all to get your resolved array of Promise and...
Use this for the translateSentence: ``` async function translateSentence(sentence, languebase, languagetranslation) { var sentenceTranslated = await translate(sentence, {from: languebase, to: languagetranslation}); return sentenceTranslated; } ```
I've created a reproduction repo: https://github.com/popo63301/constate-reload-problem 1) You can start by clicking on counter to update the value. 2) If you update the HTML inside App.js, things get updated and...
@marwojcik didn't check more, I went for an other approach I think.
Aleykum salam, Good idea! There might be 2 solutions: either create a monorepository for the web app and the electron app or create an other repo for the electron app....
It definitely solves the problem of code sharing. We just need to set the basic configuration to already have a working electron app. Then, we have to solve the challenges...
Well, if I quote @pupyc : "I think making the Quran.com accessible for **offline** users (Desktop)". It's more than small piece of data that can be store with cookies. It's...
Yes, the DB is the real challenge. It's up to the people if we go for this challenge. It might be a lot of effort for very little people but...