code-reviews

crvst 2017-05-12T14:04:09.371258Z

Hello there, I would like you to look at my first ClojureScript excercise. https://bitbucket.org/bgdn/csv-pie/src/1c458d03d3035e3b5070b124f8475177ff64f921/src/cljs/csv_pie/core.cljs?at=master&fileviewer=file-view-default

crvst 2017-05-12T14:04:33.379423Z

Any kind of recommendations are welcome

crvst 2017-05-12T14:05:45.404937Z

It’s a primitive spreadsheet editor, where you can upload, edit, download and visualize CSV

crvst 2017-05-12T14:06:22.419166Z

I have no idea how to debounce updates of a pie chart while editing cells

crvst 2017-05-12T14:08:24.462175Z

Also the code looks smelly a lot to me, I do not like some hacks there and the massive piece of code in a single file is not OK for sure, but IDK how to separate it right

2017-05-12T14:20:59.734549Z

you could replace add-watch with cursor in reagent or subscription in reframe.

👍 1
crvst 2017-05-12T15:33:42.419375Z

Here’s a link to compiled app https://csv-pie.herokuapp.com/