Skip to content

Commit e2f9441

Browse files
author
Igor Mucsicska
committed
Initial commit
1 parent 0bf54c2 commit e2f9441

File tree

9 files changed

+6486
-1
lines changed

9 files changed

+6486
-1
lines changed

.babelrc

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{
2+
"presets": [
3+
[
4+
"@babel/preset-env",
5+
{
6+
"targets": {
7+
"node": true
8+
}
9+
}
10+
]
11+
]
12+
}

.editorconfig

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
2+
# http://editorconfig.org
3+
root = true
4+
5+
[*]
6+
charset = utf-8
7+
end_of_line = lf
8+
indent_size = 2
9+
indent_style = space
10+
insert_final_newline = true
11+
max_line_length = 80
12+
trim_trailing_whitespace = true

.prettierrc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"printWidth": 100,
3+
"singleQuote": true
4+
}

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
# react-create-shared-state
2-
useState but with shared state across components
2+
3+
Reacts `useState` hook but with shared state across components.

0 commit comments

Comments
 (0)