3 ms·
https://www.youtube.com/watch?v=9sc8Pyc51uU https://www.youtube.com/watch?v=9sc8Pyc51uU - there are some examples in the talk from React JS Conf. We haven't ye
by cpojer 12y ago
https://www.youtube.com/watch?v=9sc8Pyc51uU https://www.youtube.com/watch?v=9sc8Pyc51uU - there are some examples in the talk from React JS Conf.
We haven't yet finalized what API we will provide when we open source Relay. You'll certainly get one object, called Relay, however ;)
- Touche 12y agoI'm not watching a 30 minute video to get an idea of what writing code in this framework will look like. Can you really not give a single code example, even if the API is in a fluid state?
- underwater 12y agoApplication code will look like regular React components. The only difference is you declare what data you want in a GraphQL fragment. Here's a photo from the presentation that shows an example: https://twitter.com/devonbl/status/560532680513556481 https://twitter.com/devonbl/status/560532680513556481.