Commit Graph

59 Commits

Author SHA1 Message Date
Jake
345094df2c initial notes 2018-06-20 16:34:34 -04:00
Jesse Rosenberger
57e4e449cf Fix capitalization. 2018-06-15 19:41:38 +03:00
Jesse Rosenberger
ead3d1a660 Add banner for early-access to Edge. 2018-06-15 19:35:32 +03:00
Jesse Rosenberger
af28b0579e Annotate homepage with 2.0 text. 2018-06-15 18:53:33 +03:00
Jake Dawkins
528ec52a94 React Apollo Testing (#164)
<!--**Pull Request Labels**

While not necessary, you can help organize our pull requests by labeling this issue when you open it.  To add a label automatically, simply [x] mark the appropriate box below:

- [ ] feature
- [ ] blocking
- [ ] docs

To add a label not listed above, simply place `/label another-label-name` on a line by itself.
-->

# Testing React Apollo 

This is a guide specifically for testing React Apollo. Based off of @excitement-engineer's (great) original work [in this PR](https://github.com/apollographql/apollo-client/pull/3309).

**A few notes:**
- I'm keeping this separate from server testing, since combined I think they'll be too long. **I'm open to discussion on this, though**.
- I added the guide here rather than React Apollo's docs, since I feel like we have a good set of `guides` here, and would hate for this to be missing. I also feel like the view logic may transfer to other UI integrations, but I don't have a lot of insight into that.
- I went with using `wait(0)` instead of refactoring and counting renders like some other exmples do, for simplicity. I wanted to lower the barrier of entry for testing as much as possible.
- I used `react-test-renderer` instead of Enzyme or anything else, just to keep the toolset as simple as possible.
2018-06-14 11:12:41 -04:00
James Baxley
a525a78a4f fix syntax for query type in breaking change example 2018-06-13 09:14:36 -04:00
unicodeveloper
b324d88a29 Change link to Apollo Server 2 2018-06-01 19:34:39 +01:00
Dhaivat Pandya
6d1028be03 Revert "added schema organization article"
This reverts commit 1b778a6a1a.
2018-06-01 00:00:51 -07:00
Dhaivat Pandya
1b778a6a1a added schema organization article 2018-05-31 23:57:09 -07:00
Loren ☺️
08b032b637 Fix typo in access-control.md 2018-05-31 22:22:01 -04:00
Cory Caprice
7ad0bc6e99 fix image link for fundamentals guide 2018-05-31 18:19:54 -05:00
Jesse Rosenberger
d43d92a97e Change section headers on /docs. 2018-05-31 22:13:58 +03:00
Jesse Rosenberger
7bd3c30da2 Switch to a fancier right angle chevron.
This looks a bit nicer than the usual `>` character.
2018-05-31 21:22:47 +03:00
Jesse Rosenberger
4a827979ef Lower the font-size of Documentation to match other headers. 2018-05-31 21:22:46 +03:00
Peggy Rayzis
e0bd90e79e Added more Engine screenshots to monitoring 2018-05-31 14:15:09 -04:00
Peggy Rayzis
0d990b305f Updated state mgmt 2018-05-31 13:44:25 -04:00
Hugh Willson
7da41a75a8 Address tips intro feedback 2018-05-31 13:03:04 -04:00
Jesse Rosenberger
7e0c0f68b4 Fix link to Apollo Server 2018-05-31 19:51:27 +03:00
Jesse Rosenberger
821cd2ac85 Merge pull request #156 from apollographql/abernix/schema-design-tweaks
Address `schema-design.md` feedback.
2018-05-31 19:32:30 +03:00
Jesse Rosenberger
8e2e2b7883 Stop collecting "collections".
This was truly an embarrassing collection of "collections".

Addresses: @sashko's https://github.com/apollographql/apollo/pull/156#pullrequestreview-124870960
2018-05-31 19:30:54 +03:00
Jesse Rosenberger
7a09ad19de Add warning about sharing an input type between a query and a mutation.
Addresses: @peggyrayzis' https://github.com/apollographql/apollo/pull/156#discussion_r192148408
2018-05-31 19:24:58 +03:00
Hugh Willson
b017a9dcff Add Apollo Server mention to JS server tip 2018-05-31 12:07:19 -04:00
Jesse Rosenberger
b56da257a8 schema-design: comment out gql section.
While we have some concrete reasons to recommend this, we haven't let the
concrete dry yet.

We'll re-surface this information in the future.
2018-05-31 18:55:46 +03:00
Jesse Rosenberger
662e20acc8 schema-design: Address input type feedback. 2018-05-31 18:42:32 +03:00
Hugh Willson
ca10e163c8 Addressed some of the oustanding tips feedback; Grammar, flow, etc. 2018-05-31 11:41:21 -04:00
unicodeveloper
6e287d8145 Change getting started to welcome 2018-05-31 16:29:39 +01:00
Hugh Willson
793722e99f Add tips intro 2018-05-31 10:36:07 -04:00
unicodeveloper
c404b65ac6 Make the landing page awesome 2018-05-31 14:39:10 +01:00
Jesse Rosenberger
fc187b53f5 schema-design: Address mutation and mutation response feedback. 2018-05-31 16:38:54 +03:00
Jesse Rosenberger
06550cd33e schema-design: intro edits. 2018-05-31 14:55:55 +03:00
Jesse Rosenberger
d921eef5d5 Change "API versioning" to "Versioning".
The other titles in this section could mostly also have "API" in front of
them, so it seems better to leave this off (e.g. "API Security", "API
Monitoring", etc.).
2018-05-31 14:24:45 +03:00
Jesse Rosenberger
5c3d7b1ac4 Correct field breakdown which was referring to a different example.
Addresses: @stubailo's https://github.com/apollographql/apollo/pull/155#discussion_r191958499
2018-05-31 13:47:29 +03:00
Peggy Rayzis
4c5ffe2200 Comment out extra topics for monitoring 2018-05-31 00:39:43 -04:00
Peggy Rayzis
ea0f841be3 Added links to case studies 2018-05-31 00:30:16 -04:00
Peggy Rayzis
71eb961c6f Implemented feedback on platform & benefits sections 2018-05-31 00:26:11 -04:00
Sashko Stubailo
0aae985388 Copy editing and style changes to the schema design page 2018-05-30 16:16:48 -07:00
Jesse Rosenberger
4fa9674ec6 Get rid of double-negative in schema design structure. 2018-05-30 23:37:48 +03:00
Jesse Rosenberger
7bddcee9aa Reorganize sections on guides/schema-design.md to be more strong. 2018-05-30 23:35:04 +03:00
Jesse Rosenberger
dcbb6af2a4 Add get started. 2018-05-30 23:18:52 +03:00
Peggy Rayzis
6bb1bf7566 Added platform section 2018-05-30 11:59:09 -04:00
Peggy Rayzis
c7ea54c174 Merge branch '201705-docs' of github.com:apollographql/apollo into 201705-docs 2018-05-30 11:38:50 -04:00
Peggy Rayzis
327af9dff1 Finished benefits 2018-05-30 11:38:45 -04:00
Jesse Rosenberger
adc13dd941 Update tips.md with h2 ids. 2018-05-30 18:37:04 +03:00
Jesse Rosenberger
8ea522c6e5 Update schema design with latest. 2018-05-30 18:32:48 +03:00
Peggy Rayzis
1b402ab322 Fix headings & ids 2018-05-30 02:31:10 -04:00
Peggy Rayzis
c89a7bed43 Added versioning guide 2018-05-30 02:20:53 -04:00
Peggy Rayzis
8b009be444 Almost done section on benefits, started state mgmt 2018-05-30 02:18:57 -04:00
Peggy Rayzis
a3c3f09fb7 Add descriptions to all articles 2018-05-29 23:54:12 -04:00
Jesse Rosenberger
4b1de16fe3 Wrap-up the Why JavaScript section. 2018-05-30 00:20:32 +03:00
Jesse Rosenberger
17bd0fd86a Tweaks to platform.md. 2018-05-29 23:34:36 +03:00