Ask HN: How come, const variable can be modified in react Posted by dee8717 on Wednesday August 31, 2022 @12:39PM from the ask-hn dept. I can modify const variable in react using setSate but not in vanilljs. Any reason ? ( Read More... | 3 comments | on HN )