hoppula / refire

Declarative Firebase bindings for Redux and React
46 stars 9 forks source link

Refire without React #6

Open forest opened 7 years ago

forest commented 7 years ago

I'm working on a project that is using redux without React. Crazy. I know.

Refire looks really nice for syncing redux with firebase, but the React dependencies in the project keep me from using it.

What are your thoughts on pulling out the React specific functionality into a separate library? I'm wondering what you think the level of effort is. Easy? Hard? Not worth the effort?

Thanks for your feedback.

hoppula commented 7 years ago

Haha, I've also used Redux without React, with Angular 1.x (😮), it was quite nice actually :)

I've actually been thinking of separating the React parts for a while and it's something that I'm planning to do in near future.

It's actually not hard at all, just extracting out src/components, docs to a new package (refire-react?), editing README.md and refactoring test/firebaseToProps.spec.js to be independent of React.

I'll try to have this done over the weekend but can't promise anything :)

forest commented 7 years ago

Awesome. Happy to test out a branch when you have it. On Wed, Dec 14, 2016 at 11:57 PM Lari Hoppula notifications@github.com wrote:

Haha, I've also used Redux without React, with Angular 1.x (😮), it was quite nice actually :)

I've actually been thinking of separating the React parts for a while and it's something that I'm planning to do in near future.

It's actually not hard at all, just extracting out src/components, docs to a new package (refire-react?), editing README.md and refactoring test/firebaseToProps.spec.js to be independent of React.

I'll try to have this done over the weekend but can't promise anything :)

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/hoppula/refire/issues/6#issuecomment-267262356, or mute the thread https://github.com/notifications/unsubscribe-auth/AAAelUPjh_WIhoTzMtTnBs4cjfN6GEnVks5rIPLqgaJpZM4LNfvz .

ZachMoreno commented 7 years ago

👍 I'm using polymer-redux & would love to contribute to a refire-polymer derivative

hoppula commented 7 years ago

Nice to hear that there's continued interest for refire usage with other frameworks as well. I actually extracted all React specific parts to a separate lib already some months ago but haven't had time to finish all tests and ensure that everything still works. I'll try to get everything published soon :+1:

ZachMoreno commented 7 years ago

Awesome & thanks kindly in advance, happy to help if the opportunity arises

nuba commented 7 years ago

Hi there! Reduxing all things! with angular-redux/store here :) and would love to have refire keeping track of my firebase db! Keep rocking!

hoppula commented 7 years ago

I've finally published version 3.0.0 without React dependencies and moved all React components to refire-react repository.