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

Make re-frame module .cljc? #66

Open
vemv opened this issue Jun 25, 2019 · 3 comments
Open

Make re-frame module .cljc? #66

vemv opened this issue Jun 25, 2019 · 3 comments

Comments

@vemv
Copy link

vemv commented Jun 25, 2019

Hi there,

interesting library!

I noticed the re-frame module is .cljs, while re-frame is a .cljc library. At a glance, looks like the port would be easy.

Thanks - V

@oliyh
Copy link
Owner

oliyh commented Jun 28, 2019

Hi,

Yes, it could be ported with some interop namespaces for cljs and clj. Would you have a use for it though? The re-frame bindings are mostly for state management which on a Clojure system you would normally achieve using component / mount / other similar libraries.

Cheers

@vemv
Copy link
Author

vemv commented Mar 11, 2021

Hi, sorry I never replied to this.

I try to use .cljc whenever possible. I share this article's sentiment:

Is all your business logic available cross-platform?

https://widdindustries.com/cross-platform/

tldr, .cljc can force a more functional style (or at least force the use of defprotocols, which can be seen as a poor man's functional style)

@awb99
Copy link

awb99 commented Jan 23, 2022

If my mind does not fool me, then I have seen an implementation of reframe for clj in the past. Wad only alpha. But interesting for setvet side workflows.

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

3 participants