Skip to content

Commit 20c100f

Browse files
committed
some small text changes in docs and readme
1 parent d284202 commit 20c100f

8 files changed

+9
-9
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
[![License MIT](https://img.shields.io/badge/license-MIT-4cc552)](http://simbo.mit-license.org/)
99

1010
> A small, immutable, reactive and framework agnostic state store under 2KB
11-
> powered by rxjs and immer with full typescript support. To be used with
11+
> powered by rxjs and immer with native typescript support. To be used with
1212
> vanilla, react, preact, angular, vue or whatever you like.
1313
1414
---

docs/includes/_04_actions-stream.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ Current State: { todos: ['bar'] }
5353

5454
<p class="subtitle">Todo Store Example</p>
5555

56-
Now, let's debug the todo store, that we created in the [payloads section](#payloads).
56+
Now, let's debug the todo store, which we created in the [payloads section](#payloads).
5757

5858
To achieve this, we simply subscribe to `Store.actions$`, the _action stream_ of
5959
our store. This observable returns an object containing the _name_ and the

docs/includes/_06_react-integration.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ Additionally to the things we already created, we create a context for the store
9999
state using `createContext`.
100100

101101
We update the context value by simply subscribing to the state in our app
102-
component, like you can see in the example code.
102+
component, as you can see in the example code.
103103

104104
Later within other components you can dispatch actions or use the context to
105105
read and use values from the store state.

docs/includes/_07_angular-integration.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -81,5 +81,5 @@ which extends the `Store` class. By adding the `@Injectable` decorator, we can
8181
inject the store into other things.
8282

8383
Within any component or service you can now either dispatch store actions or
84-
subscribe to the state or the actions stream, like you can see it in the example
84+
subscribe to the state or the actions stream, as you can see it in the example
8585
code.

docs/static/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
This is the generated documentation for _small-store_ – a small, immutable,
44
reactive and framework agnostic state store under 2KB powered by rxjs and immer
5-
with full typescript support.
5+
with native typescript support.
66

77
Visit the documentation website at [simbo.codes/small-store](https://simbo.codes/small-store).
88

docs/stylesheets/print.css.scss

+2-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,8 @@ body {
4646
pre,
4747
code {
4848
@extend %code-font;
49-
@extend %break-words;
49+
word-break: break-all;
50+
hyphens: auto;
5051
border: 1px solid $print-color;
5152
border-radius: 5px;
5253
font-size: 0.8em;

docs/stylesheets/screen.css.scss

-1
Original file line numberDiff line numberDiff line change
@@ -504,7 +504,6 @@ body {
504504
background-color: rgba(0, 0, 0, 0.05);
505505
padding: 0.1em 0.4em;
506506
border-radius: 0.2em;
507-
@extend %break-words;
508507
@extend %code-font;
509508
}
510509

package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "small-store",
3-
"version": "1.0.1",
4-
"description": "A small, immutable, reactive and framework agnostic state store under 2KB powered by rxjs and immer with full typescript support. To be used with vanilla, react, preact, angular, vue or whatever you like.",
3+
"version": "1.0.2",
4+
"description": "A small, immutable, reactive and framework agnostic state store under 2KB powered by rxjs and immer with native typescript support. To be used with vanilla, react, preact, angular, vue or whatever you like.",
55
"author": "Simon Lepel <[email protected]> (https://simbo.de)",
66
"license": "MIT",
77
"keywords": [

0 commit comments

Comments
 (0)