Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Racer and react #47

Open
droganov opened this issue Jul 26, 2015 · 7 comments
Open

Racer and react #47

droganov opened this issue Jul 26, 2015 · 7 comments

Comments

@droganov
Copy link

Hello.
I’d like to raise react.js question. What are the reasons to support derby these days? Wouldn’t it better to create racer + react + express setup instead of derby? As a result you would cut down the development costs (another year passed and derby still is .6 alpha) and get an access to tons of react components.

@droganov
Copy link
Author

droganov commented Sep 8, 2015

Hm zero feedback. What is happening around derby now?
I've made the setup with react, generally it works. I'd be appreciated for any useful feedback.

@vmakhaev
Copy link
Member

vmakhaev commented Sep 9, 2015

Yes, I like React's View more than Derby's. And connecting React with Racer took me about 150 LOC through high order component. Though I like Racer's api, with React you don't need most of it, so it maybe does make sense to write another ShareJS wrapper for React.
Actually I'm writing one with Racer's api, but on CRDT (Offline support) instead of OT. Should be finished soon.

@droganov
Copy link
Author

droganov commented Sep 9, 2015

Is there any examples on the web to look at?
I like racer, it's OK for now. But it would be cool to make GraphQL — ShareJS adapter I guess.

@vmakhaev
Copy link
Member

vmakhaev commented Sep 9, 2015

Not at the moment.

GraphQL and ShareJS very different conceptions.

@droganov
Copy link
Author

droganov commented Sep 9, 2015

Yes, that's tricky.

@droganov
Copy link
Author

droganov commented Sep 9, 2015

Technically we could link graphql server to share.js, but as I know they didn't publish realtime specs

@droganov
Copy link
Author

droganov commented Sep 9, 2015

@vmakhaev, are you working on wrapper for Swarm.js?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants