Skip to content
This repository was archived by the owner on Jun 5, 2019. It is now read-only.

Commit 3100920

Browse files
authored
Remove rebass. (#25)
1 parent 1e6f2bc commit 3100920

File tree

27 files changed

+1597
-1774
lines changed

27 files changed

+1597
-1774
lines changed

Diff for: docs/stack.md

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

33
Hey, so everyone has their favourites right? Here's a few of mine.
44

5+
56
## Language
67

78
> **typescript**
@@ -26,11 +27,11 @@ Some automation so I stop checking in crap-looking code.
2627
2728
Can't imagine doing web differently to be honest. I'm sure we will soon, but for mid-2017, this is dominating.
2829

29-
> **rebass**
30+
> **vanilla react**
3031
31-
I'm not sure if I'll keep this one, but it's looking good for now. It brings a great way to stitch together UIs.
32+
There are lot of great libraries out there for UI. This intentionally uses none of them. Don't hestitate to bring one in and use it if that's how you roll.
3233

33-
It brings, however, a butt-tonne of dependencies (29) including, most notably, `styled-components` although that is behind the scenes.
34+
I'm keep it straight-up react here because some types of apps I'd will be using webgl, pixi, or are pure svg interfaces.
3435

3536

3637
## State Management
@@ -43,6 +44,7 @@ It brings the same things to the table as `redux`, but with considerably less ty
4344
4445
A nice little addition from the `mobx` team. It brings `redux`-like state trees, immutability, and type guarantees. Love it.
4546

47+
4648
## Keyboard Support
4749

4850
> **mousetrap**
@@ -51,6 +53,7 @@ The main menu in electron has keyboard accelators, but we still need one in the
5153

5254
Mousetrap fills that gap. It's a pretty decent little library despite not being maintained any more (lol@js). Does the job though. I've tried a couple of others but keep coming back to this one.
5355

56+
5457
## Utilities
5558

5659
> **ramda**
@@ -76,6 +79,7 @@ A few quality-of-life utilities for working in Electron.
7679
7780
Persist JSON to the file system.
7881

82+
7983
## Bundler
8084

8185
> **fuse-box**

Diff for: docs/using.md

+2-4
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,13 @@
33
Want to try this out? Clone & run. There's a small sample project included.
44

55
```sh
6-
git clone [email protected]:skellock/electron-starter.git
6+
git clone --depth 1 [email protected]:skellock/electron-starter.git
77
cd electron-starter
88
npm i
99
npm start
1010
```
1111

12-
_Requires `node@>=8.1` and `npm@>=5.2`._
13-
12+
_Requires `node@>=8.2` and `npm@>=5.3`._ (NOTE: not really, but ya, upgrade ... there's some pretty big bugs in earlier versions)
1413

1514
## Start Your Own Project
1615

@@ -29,7 +28,6 @@ You can keep the Electron parts but lose the rendering opinions.
2928

3029
* delete the directories under `src/renderer`
3130
* change `src/renderer/index.tsx` to point to your new component
32-
* remove `rebass` from `package.json`
3331

3432

3533
## Keep the Meat, Ditch the Fluff

0 commit comments

Comments
 (0)