---
title: "Discussion on \"State in React Native\" | Hashnode"
description: "Discussion on \"State in React Native\". Use state is used to update any value or state in the code.\n\nIf we write Swastik in the string and we want to change the string when we will click the button that time we use state.\n\nex: import { StyleSheet, Text, View, Button } from 'react-native' i..."
url: "https://hashnode.com/posts/state-in-react-native/6573d1303a15ee690a0efcdc"
---

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

Discussion

# [State in React Native](https://designsplash.hashnode.dev/state-in-react-native?utm_source=hashnode&utm_medium=feed)

Use state is used to update any value or state in the code. If we write Swastik in the string and we want to change the string when we will click the button that time we use state. ex: import { StyleSheet, Text, View, Button } from 'react-native' i...

Dec 9, 2023 · 1 min read · designsplash.hashnode.dev  
Read the article

-   [#user-experience](https://hashnode.com/tag/user-experience)
-   [#reactjs](https://hashnode.com/tag/reactjs)
-   [#react-native](https://hashnode.com/tag/react-native)
-   [#coding](https://hashnode.com/tag/coding)
-   [#web-development](https://hashnode.com/tag/web-development)
-   [#app-development](https://hashnode.com/tag/app-development)

## Written by

[Swastik Pradhan](https://hashnode.com/@Rdx123)

@Rdx123

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

Software Developer

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
