From ed2f5e1d4fbe25bf56ec601188bf50b8dc66a535 Mon Sep 17 00:00:00 2001 From: Nate Ridderman Date: Thu, 18 Nov 2021 14:26:58 -0500 Subject: [PATCH 1/3] Update CoreConcepts.md --- website/docs/introduction/CoreConcepts.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/website/docs/introduction/CoreConcepts.md b/website/docs/introduction/CoreConcepts.md index c8abb66..814274e 100644 --- a/website/docs/introduction/CoreConcepts.md +++ b/website/docs/introduction/CoreConcepts.md @@ -20,8 +20,8 @@ data class AppState( This object is like a “model” except all fields are vals. This is so that different parts of the code can’t change the state arbitrarily, causing hard-to-reproduce bugs. -To change something in the state, you need to dispatch an action. An action is a plain JavaScript -object (notice how we don’t introduce any magic?) that describes what happened. Here are a few +To change something in the state, you need to dispatch an action. An action is a plain data Kotlin +class (notice how we don’t introduce any magic?) that describes what happened. Here are a few example actions: ```kotlin From ad6b3af1bd32b0cfe14ba2431063e5c6283d8621 Mon Sep 17 00:00:00 2001 From: Nate Ridderman Date: Thu, 18 Nov 2021 14:29:59 -0500 Subject: [PATCH 2/3] Update CoreConcepts.md --- website/docs/introduction/CoreConcepts.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/docs/introduction/CoreConcepts.md b/website/docs/introduction/CoreConcepts.md index 814274e..91fee88 100644 --- a/website/docs/introduction/CoreConcepts.md +++ b/website/docs/introduction/CoreConcepts.md @@ -20,7 +20,7 @@ data class AppState( This object is like a “model” except all fields are vals. This is so that different parts of the code can’t change the state arbitrarily, causing hard-to-reproduce bugs. -To change something in the state, you need to dispatch an action. An action is a plain data Kotlin +To change something in the state, you need to dispatch an action. An action is a plain Kotlin data class (notice how we don’t introduce any magic?) that describes what happened. Here are a few example actions: From 7ae5da42710c268b7b725078bc6715c9f77ee9b2 Mon Sep 17 00:00:00 2001 From: Nate Ridderman Date: Thu, 18 Nov 2021 14:31:27 -0500 Subject: [PATCH 3/3] Update Threading.md --- website/docs/introduction/Threading.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/docs/introduction/Threading.md b/website/docs/introduction/Threading.md index c3826c0..8f9dcf9 100644 --- a/website/docs/introduction/Threading.md +++ b/website/docs/introduction/Threading.md @@ -7,7 +7,7 @@ hide_title: true # Redux on Multi-threaded Platforms -TLDR; use [createThreadSafeStore()](../api/createThreadSafeStore.md), unless your Javascript only +TLDR; use [createThreadSafeStore()](../api/createThreadSafeStore.md), unless your app is Javascript only. Redux in multi-threaded environments brings additional concerns that are not present in redux for Javascript. Javascript is single threaded, so Redux.js did not have to address the issue.