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

react-devtools for Reagent? #421

Open
Juholei opened this issue Jan 29, 2019 · 3 comments
Open

react-devtools for Reagent? #421

Juholei opened this issue Jan 29, 2019 · 3 comments
Labels

Comments

@Juholei
Copy link
Contributor

Juholei commented Jan 29, 2019

Recently someone was wondering on Reddit why there is no Reagent version of react-devtools (https://www.reddit.com/r/Clojure/comments/aehzbv/reactdevtools_for_reagent/). It got me thinking that indeed, it would be great to have it working better than react-devtools does with Reagent. It works, but too often you end up with props view like this that are basically uncomprehensible:
nayttokuva 2019-1-29 kello 16 27 08

I think that this would especially help people coming from JavaScript and React land to ClojureScript and Reagent, as it can be hard to adjust in that case from tools that you've become accustomed. And I think it would also help seasoned cljs and Reagent developers too, even though they are accustomed to checking the app-state through the repl / re-frame10x / or other ClojureScript workflow tools, sometimes you just may want to see clearly what the component is getting as parameters.

@Deraen
Copy link
Member

Deraen commented Jan 29, 2019

If React-devtools used Chrome custom formatters (which are provided by cljs-devtools), like re-frame-10x does, cljs datastructures would be displayed in readable format: facebook/react-devtools#989

@roman01la
Copy link

Having formatters support built-into react devtools would be wonderful indeed. Unfortunately it's been a year without activity since I opened this issue facebook/react-devtools#989

@Deraen
Copy link
Member

Deraen commented Jan 22, 2020

New issue for React devtools support: facebook/react#16505

@Deraen Deraen added the blocked label Jan 22, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants