---
title: "Discussion on \"Javascript Sucks! toggle-button in React Tutorial - useState, if to toggle.\" | Hashnode"
description: "Discussion on \"Javascript Sucks! toggle-button in React Tutorial - useState, if to toggle.\". Quickly create the project and toggle the button before I get stoned to death!"
url: "https://hashnode.com/posts/javascript-sucks-toggle-button-in-react-tutorial-usestate-if-to-toggle/636b5e6c46778a44222166cc"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Javascript Sucks! toggle-button in React Tutorial - useState, if to toggle.](https://calebjsmithio.hashnode.dev/javascript-sucks-toggle-button-in-react-tutorial-usestate-if-to-toggle?utm_source=hashnode&utm_medium=feed)

Quickly create the project and toggle the button before I get stoned to death!

Nov 9, 2022 · 2 min read · calebjsmithio.hashnode.dev  
Updated Dec 14, 2022  
Read the article

-   [#javascript](https://hashnode.com/tag/javascript)
-   [#reactjs](https://hashnode.com/tag/reactjs)
-   [#typescript](https://hashnode.com/tag/typescript)
-   [#chakra-ui](https://hashnode.com/tag/chakra-ui)
-   [#web-development](https://hashnode.com/tag/web-development)

## Written by

[Caleb Smith](https://hashnode.com/@calebjsmithio)

@calebjsmithio · Sydney, Aus

  
[View profile](https://hashnode.com/@calebjsmithio)

How to learn JS + React Fast!

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
