Skip to content

Commit

Permalink
some small text changes in docs and readme
Browse files Browse the repository at this point in the history
  • Loading branch information
simbo committed Dec 16, 2020
1 parent d284202 commit 20c100f
Show file tree
Hide file tree
Showing 8 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -8,7 +8,7 @@
[![License MIT](https://img.shields.io/badge/license-MIT-4cc552)](http://simbo.mit-license.org/)

> A small, immutable, reactive and framework agnostic state store under 2KB
> powered by rxjs and immer with full typescript support. To be used with
> powered by rxjs and immer with native typescript support. To be used with
> vanilla, react, preact, angular, vue or whatever you like.
---
Expand Down
2 changes: 1 addition & 1 deletion docs/includes/_04_actions-stream.md
Expand Up @@ -53,7 +53,7 @@ Current State: { todos: ['bar'] }

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

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

To achieve this, we simply subscribe to `Store.actions$`, the _action stream_ of
our store. This observable returns an object containing the _name_ and the
Expand Down
2 changes: 1 addition & 1 deletion docs/includes/_06_react-integration.md
Expand Up @@ -99,7 +99,7 @@ Additionally to the things we already created, we create a context for the store
state using `createContext`.

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

Later within other components you can dispatch actions or use the context to
read and use values from the store state.
2 changes: 1 addition & 1 deletion docs/includes/_07_angular-integration.md
Expand Up @@ -81,5 +81,5 @@ which extends the `Store` class. By adding the `@Injectable` decorator, we can
inject the store into other things.

Within any component or service you can now either dispatch store actions or
subscribe to the state or the actions stream, like you can see it in the example
subscribe to the state or the actions stream, as you can see it in the example
code.
2 changes: 1 addition & 1 deletion docs/static/README.md
Expand Up @@ -2,7 +2,7 @@

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

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

Expand Down
3 changes: 2 additions & 1 deletion docs/stylesheets/print.css.scss
Expand Up @@ -46,7 +46,8 @@ body {
pre,
code {
@extend %code-font;
@extend %break-words;
word-break: break-all;
hyphens: auto;
border: 1px solid $print-color;
border-radius: 5px;
font-size: 0.8em;
Expand Down
1 change: 0 additions & 1 deletion docs/stylesheets/screen.css.scss
Expand Up @@ -504,7 +504,6 @@ body {
background-color: rgba(0, 0, 0, 0.05);
padding: 0.1em 0.4em;
border-radius: 0.2em;
@extend %break-words;
@extend %code-font;
}

Expand Down
4 changes: 2 additions & 2 deletions package.json
@@ -1,7 +1,7 @@
{
"name": "small-store",
"version": "1.0.1",
"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.",
"version": "1.0.2",
"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.",
"author": "Simon Lepel <simbo@simbo.de> (https://simbo.de)",
"license": "MIT",
"keywords": [
Expand Down

0 comments on commit 20c100f

Please sign in to comment.