Ignite: [CLI | Generator] Add support for Relay

Created on 8 Jun 2016  路  12Comments  路  Source: infinitered/ignite

Hi there,

First of all thanks for this super awesome project!
awesome

I would love to see one feature added: Support for relay
This would include

  • [ ] a boolean option for the initial generation
  • [ ] a generator for a relay container

This would be super awesome as the initial setup time for relay is quite high and complex.
Have a nice day!

Most helpful comment

Great idea, I wish I had more time for things Like this :/

All 12 comments

I can't stop laughing at the gif.

Gif is taken from thecodinglove ;)

On this matter, I haven't had the time to work with relay currently, but I plan to do so in the near future. Would you like to see a Pull Request for this, as soon as I get started with it?

I know very little about Relay.

This boilerplate project is very much invested in Redux, right down to the UI split of containers & components.

My vote for now is to stick with Redux. And it's not because another state container isn't awesome, it's just a big switch.

I do see a future where ignite new FurryCosplayApp --stateContainer mobx is a thing.

If you get your Relay app up & open-sourced, I'd love to walk through it. I know absolutely nothing about Relay.

As you can see with the F8 App (see the blog post here) redux and relay are not mutual exclusive. You can use both in the same project with no harm as the solve different problems, redux solves state change and relay data fetching.

I see that it may be too early to adopt it in this project, so I am going to get back to you as soon as I have an application with both up and running.

No, actually I didn't know that. Thanks for the insights! Will study up some more.

I will build an application generated with ignite which includes relay, so you may see how they play together

@DanielMSchmidt Did you able to use ignite with relay?
I looked at your https://github.com/DanielMSchmidt/ignite-relay-demo

but it seems not working.

@matart15 Sorry, but I didn't manage to get this working and kind of stopped working on it for a while. But I think I will give it another shot in the next couple days and keep you up to date.

Thank you.
I managed to work relay on it. Nothing seems blocking them. But cannot solve router.

This is possible to do now in 2.0 with plugins. I'd love to see a relay or an apollo plugin!

Great idea, I wish I had more time for things Like this :/

There's so much awesome going on in the React Native world right now. I can't keep up anymore.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

besingamkb picture besingamkb  路  3Comments

GantMan picture GantMan  路  3Comments

ron-liu picture ron-liu  路  4Comments

GantMan picture GantMan  路  3Comments

jamonholmgren picture jamonholmgren  路  3Comments