by nathan_f77 · 7y ago · 0 comments
The source code looks very interesting (and a bit unusual for a React app.) [1]
Looks like Coffeescript + "Coffeescript JSX", which I hadn't heard of before.
I didn't look too closely, but I didn't see how they're doing state management in the editor. No Redux in the package.json [2]. I was hoping that I might be able to repurpose some of this for a new project I'm working on, but it all looks very foreign to me [3], and the file organization doesn't seem to follow any conventions that I'm familiar with.
[1] https://github.com/Pagedraw/pagedraw/tree/master/src
[2] https://github.com/Pagedraw/pagedraw/blob/master/package.jso...
[3] https://github.com/Pagedraw/pagedraw/blob/master/src/editor/...
[1]: https://shubhamjain.co/2018/12/01/why-paul-graham-wrong/
> We just used global mutable state instead of the whole immutable Reduxy patterns people liked to enforce. It was simple and it worked great.
[1] https://medium.com/@gabriel_20625/technical-lessons-from-bui...