These are chat archives for reactioncommerce/reaction

20th
Feb 2019
leobastiani
@leobastiani
Feb 20 01:49
@elhil Thank you!
Loan Laux
@loan-laux
Feb 20 05:23
@elhil @leobastiani Actually, reactivity was recently introduced to GraphQL in Reaction (it's reffered to as "GraphQL subscriptions") and works over WebSocket. Right now there's just a ping subscription that returns pong for testing, but it looks like relevant queries will be reactivi-fied in the near future.
So it will soon be quite easy to display reactive data on the Next.js starter-kit. Stay tuned!
zzh1234567
@zzh1234567
Feb 20 09:57
how to use GraphQL to createProduct or createProductVariant and publish ?
@loan-laux
whether Reaction Component Library can be used in React Native App?
Loan Laux
@loan-laux
Feb 20 10:54
@zzh1234567 As far as I know, there's no GraphQL query for creating product right now. That may change soon but I don't have any information.
As for using the Reaction Components in React Native, I have no idea either.
zzh1234567
@zzh1234567
Feb 20 11:50

thank you for your replay. @loan-laux

https://docs.reactioncommerce.com/docs/intro-glance
"While we do have plans to work on a native mobile app on the Roadmap, we do not have a release date. However, you may create your own native mobile app using the Reaction GraphQL API. If you do so using React Native, you can use any of our Reaction Design System components to get your UI built more quickly."

So I dont know whether Reaction Component Library can be used in React Native App? I am developing a react native app.

leobastiani
@leobastiani
Feb 20 13:59
@loan-laux Cool!!
Janus Reith
@janus-reith
Feb 20 19:56
Did anyone Implement a custom Bunyan Stream dir reaction-logger yet?
*for
Janus Reith
@janus-reith
Feb 20 20:04
I want to implement a bunyan stream for sends
*Sentry.
The isse I have is, that logger is a separate Mode Module which creates an instance of Bunyan with Bunyan.createLogger and Exports that
*Issue (sorry, using Gitter from my phone)
Now while In could certainly modify this Module directly, or change core to import all different Logger, I wonder how to do that in code
*Plugin code
Janus Reith
@janus-reith
Feb 20 20:09
*node (damn, last time that I type using my phone, I swae
Nevermind.
Eliot Hills
@elhil
Feb 20 20:11
@janus-reith seems worth a forum post - I’m not sure how logging works in Reaction but better logs are better
Janus Reith
@janus-reith
Feb 20 20:12
Think a github issue has better chances of being read than a Forum post
Eliot Hills
@elhil
Feb 20 20:13
@janus-reith looking at the core logger module, I think they already use it??
Janus Reith
@janus-reith
Feb 20 20:13
They use Bunyan, imported as a separate Mode Module