Skip to content

Commit

Permalink
Update readme, remove parameterized type
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelMarner committed Oct 8, 2018
1 parent 679ad9f commit 5d92a30
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ dependencies:
Add the middleware to your Redux configuration:

```dart
var remoteDevtools = RemoteDevToolsMiddleware<AppState>('192.168.1.52:8000');
var remoteDevtools = RemoteDevToolsMiddleware('192.168.1.52:8000');
await remoteDevtools.connect();
final store = new DevToolsStore<AppState>(searchReducer,
middleware: [
Expand All @@ -33,7 +33,7 @@ Add the middleware to your Redux configuration:

### What's going on here?

1. Create a new instance of the devtools middleware. The middleware is a parameterised type - you need to pass in the type of your redux state. Specify the host and port to connect to.
1. Create a new instance of the devtools middleware. Specify the host and port to connect to.

1. Wait for devtools to connect to the remotedev server

Expand Down

0 comments on commit 5d92a30

Please sign in to comment.