Settings

Theme

How We Replaced React with Phoenix

robots.thoughtbot.com

50 points by liamk 10 years ago · 10 comments

Reader

Illniyar 10 years ago

If your entire react application can be replaced with 3 lines of javascript, you probably didn't need react

sb8244 10 years ago

Not to bust on what they're doing, but it seems like React may not have been the best initial choice. However, it seems like the investment time aspect means the chance of learning is worth more than the "best tool" aspect.

I like that they were able to admit to not doing something the best way and then shared how they made it better. It makes me more curious to try out Phoenix as well.

crisopolis 10 years ago

So a blog post complaining... about using the wrong tool for the job. So next post will be... "How We Replaced Phoenix with Rails".

  • pritambaral 10 years ago

    > wrong tool for the job

    > "...Phoenix with Rails"

    Isn't Phoenix designed to be like Rails and do things Rails does? That'd make them pretty similar (though not the same, of course) tools.

alexbanks 10 years ago

Elixir is riding a hype-wave similar (but much smaller) to JavaSciprt ~two years ago. "I rewrote X for almost on reason with framework Y and experienced a result."

Still cool though. Advancement is tons of fun, and as we know there are now 4 ways to skin a cat.

kranner 10 years ago

A screenshot of the app would help make more sense of this to an external audience. Right now it sounds like just a blog with comments, so not sure why a custom app was needed in the first place.

ilostmykeys 10 years ago

"sprinkle javascript" ...LMAO

  • crisopolis 10 years ago

    I always sprinkle my JavaScript

    • Swennemans 10 years ago

      But how do you decide to stop sprinkling your JavaScript and go full blow React (serious question)?

      • frigo_1337 10 years ago

        When "sprinkling Javascript" turns into "making sauce for the spaghetti you've been cooking", it's probably time to consider React or something similar.

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection