Comments (2)
Nice catch!
No idea why this happens tho 🤔
Using React Dev tools, the hook values seem normal.
In fact, they are exactly the same as in development...
I've noticed that the Virtual DOM seems okay, because when you toggle the theme for the first time, the actual component changes (while the DOM does not, since it had the incorrect icon).
For some reason I haven't figured out, the Virtual DOM is not matching with the actual DOM 😢
from resumos-leic.
Exactly!
Some surface level debugging also left me perplexed. The value of 'darkMode' (the variable based on which we show one icon or the other) is correct at all times both in production and development, i.e., there is no reason for this to happen.
I'll look into it in more detail when I find time.
from resumos-leic.
Related Issues (20)
- Search query shouldn't be cleared when search scope changes
- [FP] Revamp the page
- [Incorrect Content] Swapped tables for OR/AND and NOR/NAND
- [Incorrect Content]
- [Incorrect Content] typo (1 palavra) HOT 1
- [PE] Missing content
- [IAED] Adicionar disclaimer na remoção de elementos em HashTables com Linear Probing HOT 3
- Legend on images breaks color filters
- Text on SVGs is not selectable
- [Incorrect Content] Google drive links not working HOT 1
- Automatic contributors list HOT 1
- SVGs with Math typesetting aren't properly rendered
- [Idea] Use Mafs for math animations
- Make edit button open in new tab
- [SD] Cobertura dos capítulos do livro referidos nos slides
- [TC] [Incorrect Content] Prova Turing Machines Unidirecionais equivalentes a Bidirecionais HOT 2
- Add CI to check for unused images and broken links
- [RC] Additional resources HOT 1
- Incorrect table of contents links when page contains multiple headers with the same description HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from resumos-leic.