Conversation
koladev32
commented
May 16, 2022
- Add React GraphQL example to code_samples
bstrech
left a comment
There was a problem hiding this comment.
We need to update this example using the access key/secret method, which would then not need the login page/auth hash.
bstrech
left a comment
There was a problem hiding this comment.
We should update the authentication method to use the request signing. Then you do not need the login page.
bstrech
left a comment
There was a problem hiding this comment.
Change out react logos with remote.it logos. We can provide those.
| import {fetcher} from "./axios"; | ||
|
|
||
|
|
||
| const devicesQuery = { |
There was a problem hiding this comment.
I think we should rename the home to devices.jsx so that it is easier to find.
| yarn start | ||
| ``` | ||
|
|
||
| By default the project will be running on http://localhost:3000 |
There was a problem hiding this comment.
Add information about where they can see the graphQL query and results properly.
| import useSWR from 'swr' | ||
| import {fetcher} from "./axios"; | ||
|
|
||
|
|
There was a problem hiding this comment.
Both devices query and events query should have examples of issuing a new request if the hasMore is true and incrementing the from variable.
| ` | ||
| } | ||
|
|
||
| const eventsQuery = { |
There was a problem hiding this comment.
would also recommend that we move events information to its own events page.