News for hackers. Stuff that matters.
Re:Show HN: Single-file components for React by peternicky on Thursday October 05, 2017 @12:56PM (#15410670)
Upvoted because I like experimentation however I still cannot think of a reason to structure react components in this style. Is this more of an exercise to port an idea you like from Vue into React?
Re:Show HN: Single-file components for React by MunGell on Friday October 06, 2017 @10:24AM (#15417000)
I liked the idea of how Vue components combine business logic and styling code in one file using HTML-like wrappers.

As I mentioned in a comment below I realise there is already a number of ways to approach the problem. I personally didn't find any of the ones that I am aware of being as convenient, so I've created and published this experimental loader to see if it 1. would actually work for React and 2. if someone else finds this concept interesting/convenient.