Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 1 year ago.
Improve this question
I'm trying to add translations to my next js app, but I have a problem. I get a very heavy translation object from server with 30000 keys to all my app. When I'm passing object through pages props it makes js bundle file bigger because unused translation keys are added too. How can I optimize it?
Related
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 10 hours ago.
Improve this question
We are using a webapp for one of our application thats runs on Browser, we need to integrate a weighing scale (any company recommendation is fine CAS, MATTLER TOLEDO etc). but we need integration using javascript library. Is that possible? if yes,then How?
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 2 years ago.
Improve this question
I'm currently learning JS as a project i decided to make a memory game with the function of connecting questions with answers
currently its matching the cards when they share the same image and for my project I need to make pairs of cards with different images
Could anyone give me an alternative to giving values to the cards, I would like to give classes to the cards manually
return card.getElementsByClassName('card-value')[0].src;
Very easy way is to store values/data using data attributes. Here's a quick overview:
https://developer.mozilla.org/en-US/docs/Learn/HTML/Howto/Use_data_attributes
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 6 years ago.
Improve this question
I want to perform the function with page rendering.
The function loads a external JS file dynamically.
Thanks you.
Yes.
Of course without specifying what do you want the function to do and how or even if it's on the client side or server side it's impossible to give you any more specific answer. But a correct answer to your question is: yes.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 6 years ago.
Improve this question
I have 10000 files (php, html, css, and png). They are interconnected, in other words that the site engine. How do I can to do a bulk rename files so that the website worked properly? I understand that in addition to rename files and folders, I need to rename the paths inside the files. But how to do it bulk?
Best solution can be to write a little custom program. That program can do what you want. It may be a php script.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
If you can include Javascript so it automatically updates that would be awesome. I want it to gather the amount of space that is being used in directory /wy/ and display on the index.php file and automatically update whenever a file is added to file directory /wy/.
You cant achive this only with javascript as your tag implies. you may need to use any file APIs available. Better ways is to have a Server implementation for this and get the memory details from server using Ajax or any client-server communication techniques.