All Questions
Tagged with updates javascript
137
questions
12
votes
3
answers
27k
views
Add a field to existing MongoDB document (with Mongoose in Node.js)
I have this existing document in a collection Article in MongoDB database:
[ { site: 'www.atlantico.fr',
date: '2014-05-27T11:10:19.000Z',
link: 'http://www.atlantico.fr/example.html',
_id: ...
7
votes
2
answers
962
views
D3 V4: Updated data is being seen as new data? (Update function)
Currently, I am building a system, and I am having some trouble with the update function.
Essentially, I am trying to add new nodes to a D3 tree. A new child node can be added when the user clicks ...
7
votes
0
answers
4k
views
Are there incompatibility risks when updating Node.js?
I was just checking if any installed programs required an update and I realized that the latest LTS version of Node.js is 12.13.1 while I have 10.16.0 installed.
I was wondering if there are ...
4
votes
2
answers
6k
views
Updating javascript code in Cordova app after it has been published in the app store [closed]
I'm developing some apps where the clients wants to implement design changes, adding new content fields etc after the app has been delivered. Also at the moment the apps are done through RhoMobile but ...
4
votes
1
answer
10k
views
D3: How can I change data in an existing bar chart
I have successfully build my initial bar chart. Now I want to add more bars to that existing chart using transitions to have a nice user experience.
Here's my code:
var data = [23, 85, 67, 38, 70]; /...
4
votes
1
answer
2k
views
Electron - Update window message
I am using Squirrel for updates in my app(Electron).
And I'm looking for nice way to display release notes.
Something like this:
Where can I found information about this?
How can I make my message ...
3
votes
4
answers
5k
views
Run JS function every new minute
So I've got this JavaScript clock I'm working on and I want it to be perfectly synced with the clients' system clock. I know how to get the current time using a Date object and I know how to run the ...
3
votes
6
answers
2k
views
When to use functional update form of useState() hook, eg. setX(x=>x+1)
Normally when we need to update a state in a functional component, we do something like this:
function Example() {
const [count, setCount] = React.useState(0);
return (<div><p>You ...
3
votes
2
answers
140
views
Upgrading Ember Web Application from 1.2.2
The Ember web application currently in our production environment has the following versions.
ember.js - 1.2.2
ember.data - 0.13
I've found upgrade notes from ember 1.10 onwards in the ...
3
votes
1
answer
1k
views
Using mathjax in an updating sequence in javascript
I have four dynamic variables in my program,
xzero, xone, xtwo, xthree
That represent the coefficients of a cubic function. I want to show the actual equation in the HTML, in the following format:
...
3
votes
1
answer
4k
views
Updating Array Objects in Realm
I have a realm Organization and Ticket. An organization has many tickets. So to update organization, it looks like this:
try {
realm.write(() => {
realm.create('...
3
votes
3
answers
138
views
Javascript update a value in an array within an array
I'm using the Flot Chart plugin to construct a bar chart. When the script receives new data, I need it to increase that value by one.
var data = [["A", 0], ["B", 0], ["C", 0], ["D", 0], ["E", 0]]
$....
3
votes
1
answer
7k
views
Sencha Extjs - How to update a grid by setting data in records all at once?
I have a grid with more than 1000 rows (users) and a checkcolumn, which is used to link every user to another specific instance (a group of users for example).
I've implemented a "Select All" button, ...
3
votes
2
answers
4k
views
How to update an IndexedDB item with autoincrement key? [duplicate]
I created an object store with autoIncrement: db.createObjectStore("items", {autoIncrement:true});
Now I want to be able to update an item given its key and a new value, so I wrote this ...
2
votes
2
answers
1k
views
React Lifting State Up
I was studying this part of React documentation: https://reactjs.org/docs/lifting-state-up.html.
I have a similar problem in a project of mine, but with a slight difference. We can use the same ...