binarykitchen / videomail-client

A wicked npm package to record videos directly in the browser, wohooo!
https://videomail.io
Creative Commons Zero v1.0 Universal
55 stars 19 forks source link

Use React/Redux/Re-frame #19

Open binarykitchen opened 9 years ago

binarykitchen commented 9 years ago

I see a huge potential here to use React!!!!

omnipotentuser commented 9 years ago

Elaborate? :D

binarykitchen commented 9 years ago

The videomail-client code is a crazy state machine.

If you look in the code, you see I have lots of flags controlling behavior of many functions and it's getting bloated soon. The current two-way-data binding and event handling mechanism isn't optimal. That's exactly one thing React is very good at. Just seeing a huge potential here to write much more elegant code with React, especially for maintainability's sake.

binarykitchen commented 8 years ago

Maybe React Native!

binarykitchen commented 7 years ago

Nope, it should be either Redux or in ClojureScript using Reagent/re-frame.