News for hackers. Stuff that matters.
Re:Show HN: Simple Text Blog by hk1337 on Saturday October 26, 2024 @04:21PM (#41957433)
I like it but not that enthusiastic about JavaScript echoing html. What about having simple html templates that call back to the worker for the posts and the worker return json?
Re:Show HN: Simple Text Blog by jonutah on Saturday October 26, 2024 @06:45PM (#41958277)
Yeah it is gross interweaving html fragments randomly but I wanted to see if I could do it and keep it all constrained to one file. Thanks for the feedback.
Re:Show HN: Simple Text Blog by freetonik on Monday October 28, 2024 @06:20AM (#41969541)
So, have some JavaScript on the client side just to retrieve text and put onto the page? Seems like unnecessary complexity.