I remember reading many times over this piece of advice given to new, aspiring developers : « Go ahead! Read some source code, then contribute to o...
For further actions, you may consider blocking this person and/or reporting abuse
Great article, but how do you differentiate your gem from the already pretty famous "Cocoon"?
In all honesty, we didn't feel like doing so. Neither of us ever liked working with
cocoon
but still did because it was the only available tool to help with the issue at hand. I think contributing to an existing codebase makes sense for projects you love and wish to support and enhance, but here we really wanted to start from scratch with a completely different approach.That being said, it's one of our main references for this project, and it helped us tremendously in writing some parts of the gem. Like I said, learn from the best ; (the missing part was "Then, try and make it better !" 🤓)
Hey Roman ! Thanks ! Our take on the issue is quite different from cocoon. We're providing users with a complete wrapper around
nested_attributes
, which includes :cocoon
is implemented injquery
, whereas we chose to implement everything withstimulus
. Have a look at the doc for more details 😬Alright cool! I definitely try it out next time in need for nested forms! ✌️
Cool to use stimulus, it's definitely an underrated framework!
Excellent article Louis and Romain!
It's great that you shared the whole process, from the pain to the release while still describing all the code challenges you had to solve ✨
Congrats on this new gem!
Incredible article! Thanks for taking us on your journey and for sharing the way you came about this gem. Love the "let's do it and make it" attitude.
I agree, DevX is so important.
Can't wait to start using it and to see more people adopt the gem. Congrats to both of you!
Very cool. Did you consider a task like rails ships with, which detects yarn and runs? It's built into rails 6 I think, so is an official rails friendly pattern as far as I'm concerned.
Thanks Lewis ! That's good to know ; do you think it would be appropriate to use this pattern for the whole javascript part of the gem ?
Hey Louis,
I was thinking just for initial installation.
Not sure what you meant though. Sorry for slow reply.
Really enjoyed reading.
Excellent ! I wish more guides were as well written as this :)
Congrats to you Romain and Louis! Both for the gem and for the description of your journey in this article!
High quality post, thanks!
Excellent ! Amazing job! Thanks for sharing👍