Skip to content
This repository has been archived by the owner on Jun 21, 2023. It is now read-only.

Commit

Permalink
docs(examples/with-mobx-state-tree-typescript): add 'Open in StackBli…
Browse files Browse the repository at this point in the history
…tz' button (vercel#25926)

Add `Open in StackBlitz` button to `examples/with-mobx-state-tree-typescript` now that it was fixed in vercel#25589.

## Bug

- [ ] Related issues linked using `fixes #number`
- [ ] Integration tests added

## Feature

- [ ] Implements an existing feature request or RFC. Make sure the feature request has been accepted for implementation before opening a PR.
- [ ] Related issues linked using `fixes #number`
- [ ] Integration tests added
- [ ] Documentation added
- [x] Example(s) updated
- [ ] Telemetry added. In case of a feature if it's used or not.

## Documentation / Examples

- [x] Make sure the linting passes
  • Loading branch information
d3lm authored Jun 9, 2021
1 parent e289b7d commit 791eeb9
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions examples/with-mobx-state-tree-typescript/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,12 @@ The trick here for supporting universal mobx is to separate the cases for the cl

The clock, under `components/Clock.js`, has access to the state using the `inject` and `observer` functions from `mobx-react`. In this case Clock is a direct child from the page but it could be deep down the render tree.

## Preview

Preview the example live on [StackBlitz](http://stackblitz.com/):

[![Open in StackBlitz](https://developer.stackblitz.com/img/open_in_stackblitz.svg)](https://stackblitz.com/github/vercel/next.js/tree/canary/examples/with-mobx-state-tree-typescript)

## Deploy your own

Deploy the example using [Vercel](https://vercel.com?utm_source=github&utm_medium=readme&utm_campaign=next-example):
Expand Down

0 comments on commit 791eeb9

Please sign in to comment.