What's the update condition?
See original GitHub issueFirst, it’s an awesome project!
I found that the control not always update as state changed, but it would update selected status if changing month, so what’s the update condition or is there any method to force updating control?
if comment this.shouldComponentUpdate = shouldComponentUpdate;
in the calendar\index.js
, it would update if component state changes.
anyway, i want to know why override shouldcomponentupdate
method?
Issue Analytics
- State:
- Created 6 years ago
- Comments:7 (3 by maintainers)
Top Results From Across the Web
SQL update with where - w3resource
WHERE clause can be used with SQL UPDATE to add conditions while modifying records. Without using any WHERE clause, the SQL UPDATE command...
Read more >How to Update a Column Based on a Filter of Another Column
Learn how to update a column based on a filter of another column. This tutorial will cover ways to update rows, including full...
Read more >SQL UPDATE Statement - W3Schools
The UPDATE statement is used to modify the existing records in a table. ... WHERE condition; ... Notice the WHERE clause in the...
Read more >Using a conditional UPDATE statement in SQL - Stack Overflow
I am working with it on MS SQL Server and MySQL Server too. UPDATE testingtable SET dob = CASE WHEN DATEDIFF(CURRENT_TIMESTAMP,ADDDATE(dob, INTERVAL -2...
Read more >SQL - UPDATE Query - Tutorialspoint
The SQL UPDATE Query is used to modify the existing records in a table. You can use the WHERE clause with the UPDATE...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
You are not treating
markedDates
as immutable. Since the reference ofmarkedDates
does not change update condition is not triggered. Use this whenever you changemarkedDates
:this.viewData.markedDates = Object.assign({}, this.viewData.markedDates);
Hi,
I have the same problem I am updating my
markedDates
:@tautvilas Any ideas how I can get it to update?