🪟 Windows TippsThe Gemini desktop app is now available for Windows(11.09.2026 um 17:06 Uhr)
🕵️ SicherheitslückenBurn Out, Or Fade Away(14.09.2026 um 14:25 Uhr)
🪟 Windows TippsKB5129194 Windows 11 26H1 Out of Band Update - Deskmodder.de(14.09.2026 um 19:25 Uhr)
🪟 Windows TippsGoogle Gemini: Neue Windows-App holt die KI aus dem Browser(14.09.2026 um 06:00 Uhr)
🪟 Windows TippsThe Gemini desktop app is now available for Windows(11.09.2026 um 17:06 Uhr)
🕵️ SicherheitslückenBurn Out, Or Fade Away(14.09.2026 um 14:25 Uhr)
🪟 Windows TippsKB5129194 Windows 11 26H1 Out of Band Update - Deskmodder.de(14.09.2026 um 19:25 Uhr)
🪟 Windows TippsGoogle Gemini: Neue Windows-App holt die KI aus dem Browser(14.09.2026 um 06:00 Uhr)

🔧 Programmierung 🕛 vor 2 Jahren 5 Min Lesezeit
0

A new way to create desktop applications: Tauri + React

↗ Quelle (dev.to)
🗣️ Stimme:
📑 Inhaltsübersicht

Welcome to this article. If you a programmer, you must have heard about electron.js, by using which, whatsapp, slack, skype, discord desktop application has been created. But, then why am I saying that Tauri is a new way to create desktop applications ? Let's look into some of the pros and cons of it.






Electron vs Tauri:






Performance



Tauri is designed to be more lightweight and faster than Electron, as it uses less memory and CPU resources






Security



Tauri is built with security in mind and aims to be more secure than Electron by using a Rust-based native layer instead of a JavaScript-based layer






Size



Tauri apps have smaller binary sizes than Electron apps because it’s using rust instead of javascript and other web technologies






Access to native APIs



Tauri apps have access to more system-level APIs than Electron apps, because of the use of rust



You can have a look at the below table, to compare Tauri and Electron Completely.



NOTE: As I am using Linux, so headers of the app and the icon are a little different. It will look different for Windows and Mac.



I cleaned everything in the App.tsx, App.css and index.css files, and the application will be blank for me.




CODE
import './App.css'

function App() {

return (
<>

</>
)
}

export default App






Now, Let's start creating the Todo Application.



I created a Components folder and store in the src folder and created two files, one inside the Components folder and one in the store folder.




CODE
src
|-- Components
|-- Input.tsx
|-- TodoList.tsx
|-- store
|-- store.ts






Input.tsx: The input component is for the input box where we can type the todo app.



TodoList.tsx: This component will be used to show the list of the todos.



store.ts: This file is being handled to create the global store.




CODE
//store.ts
import { atom } from "jotai";

export const inputDataStore = atom<String[]>([])






Here, we are initializing the store using jotai Atom and giving it a type of Array of strings.




CODE
// Input.tsx
import { useAtom } from "jotai"
import { inputDataStore } from "../store/store"
import { useState } from "react"

const Input = () => {
const [_, setData] = useAtom(inputDataStore)
const [inputData, setInputData] = useState('')


return (
<div className="input-container">
<input type="text" onChange={(e) => {
setInputData(e.target.value)
}} />
<button onClick={() => {
setData((el) => [...el, inputData])
}}>
Add Todo
</button>
</div>
)
}

export default Input






As you can see, in the above code, I created an input box, and a button to add the entered value in the input box to move to the global todo list array.




CODE
// TodoList.tsx

import { useAtom } from 'jotai'
import { inputDataStore } from '../store/store'

const TodoList = () => {
const [data] = useAtom(inputDataStore)

return (
<ul>
{data?.map((item, index) => {
return (
<li key={index}>
{item}
</li>
)
})}
</ul>
)
}

export default TodoList






The above code represents the list of the todo, which has been entered in the Input.tsx file.




CODE
// App.tsx
import './App.css'
import Input from './Components/Input'
import TodoList from './Components/TodoList'

function App() {

return (
<div className='app-container'>
<Input />
<TodoList />
</div>
)
}

export default App






Finally, all the components are combined and added to the App.tsx file.






Build the Electron App



To build the electron app, please run the below command.



yarn build



The above command will build the code and also create a folder named, release which has the build of the app to run on a desktop, according to your OS.



As I am running Linux, it created an AppImage for me, for 102.2 MB.



Vollständiger Original-Bericht
Ausführliche Details, Code-Beispiele & Hersteller-Stellungnahme auf dev.to.
↗ Original-Artikel auf dev.to lesen
Wie bewertest du diesen Beitrag?
1 Klick Feedback
Teilen mit Netzwerk & Team:

Community-Analysen & Experten-Meinungen 0

Verfasse deine eigene Analyse, teile Workarounds oder diskutiere diesen Vorfall im Blog.
Noch keine Community-Analyse verfasst. Markiere einen Textabschnitt oder klicke oben auf Eigene Analyse verfassen“!
Community Pulse: Relevanz-Einschätzung
1 Klick Experten-Votum
🔴 Akute Relevanz 0%
🟡 In Evaluierung 0%
🟢 Keine Auswirkung 0%
Spannende Innovation 0%
Verwandte Story-Cluster & Quellen (Vektor-KI)
Port 8095 Engine
1 Quelle
The Gemini desktop app is now available for Windows
1 Quelle
Burn Out, Or Fade Away
1 Quelle
Windows 11 KB5129195 is out after Microsoft confirms major issues with the September 2026 update, but it won’t fix AMD GPU errors
Ähnliche Beiträge
🔍 Verwandte News

Auch interessante Nachrichten A new way to create desktop applications: Tauri + React

Thematisch verwandte Begriffe: create, desktop, applications, Tauri · 6 Treffer

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...