Commit Graph

24 Commits

Author SHA1 Message Date
Peggy Rayzis
a55b616d14 Refactored to platforn docs 2018-11-07 08:46:42 -08:00
Peggy Rayzis
5c0790e3da Update all code samples 2018-11-07 06:55:07 -08:00
Peggy Rayzis
58f9ff71a3 Edited the structure, added page on resolvers 2018-09-28 09:50:18 -04:00
Peggy Rayzis
6dafd49354 Add outline 2018-09-26 10:48:05 -04:00
Jake
59f8b619dd wip on faq–added some answers 2018-08-15 16:17:11 -04:00
unicodeveloper
8be9015763 Create Resources directory and add it to navigation 2018-08-15 16:17:11 -04:00
unicodeveloper
0aac902a6b Rename state management 2018-07-01 08:17:53 +01:00
unicodeveloper
4f9fff88e8 Rearrange guides on the sidebar from shortest to longest 2018-07-01 08:14:49 +01:00
unicodeveloper
2bafb1fe7a Add file uploads and performance to sidebar 2018-07-01 08:09:58 +01: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
Jesse Rosenberger
9176dc5ca7 Change "Platform" to "Documentation". 2018-05-31 23:43:52 +03:00
Peggy Rayzis
2379139524 Change platform to link to docs 2018-05-31 13:42:08 -04:00
Jesse Rosenberger
3b1d0fae67 Change repo title to "Developers", rather than "Documentation". 2018-05-31 20:29:34 +03:00
unicodeveloper
7691ccff0b Replace config title with documentation 2018-05-31 16:33:02 +01:00
Jesse Rosenberger
a5ac647170 Change title of the /docs section to not repeat "Apollo" again.
Another option here is literally anything else.
2018-05-30 23:38:00 +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
8c5b4a48a6 Added all the content from Google docs 2018-05-29 14:43:10 -04:00
Jesse Rosenberger
6d40655303 Introduce guides, practices and fundamentals. 2018-05-29 20:57:13 +03:00
Jesse Rosenberger
354993b507 docs: Further standardize format of _config.yml files.
Many of these comments are unhelpful anyway and deserve to be maintained in the
"doc docs" (yes, docs for the docs), which live at https://github.com/apollographql/docs-docs/.
2018-03-23 19:37:44 +02:00
Jesse Rosenberger
decbcb9789 docs: Remove _config.yml options now covered by global theme config. 2018-03-13 10:20:06 -07:00
Sashko Stubailo
8cc049513d Update links/theme 2017-10-24 10:55:07 -07:00
Sashko Stubailo
3bb93bdf4a Add docs 2017-10-24 10:42:37 -07:00
Sashko Stubailo
ade5f1f21e Add docs site 2017-10-22 15:21:35 -07:00