Echo JS 0.11.0

<~>

tracker1 comments

tracker1 2267 days ago. link 1 point
Meh... As far as I'm concerned the template DSL is just as hard as enough JS to wire up the same.  In the end, you're still writing code.
tracker1 2267 days ago. link 1 point
It's worth mentioning that there's a search cost for properties in the prototype hierarchy, so doing more than 1-2 inheritance levels is generally a bad idea depending on your use case and performance needs.
tracker1 2267 days ago. link 1 point
Mainly in that maintaining it can become an issue... also, if you exceed a certain size it won't be indexed, so you'll have to reference other sitemap files, and/or generate them.  I've found you're far better off ensuring only the recent endpoints that are updated since the last google scan are about best.  And even then, google (and bing) will do a good job at natural discovery.  The sitemap really only allows for those sites with frequent publication to be checked more often by google.  If you are doing less than a couple posts a day, there's very little reason to worry about it.
tracker1 2267 days ago. link 1 point
Spent a few hours with the github api on Saturday evening setting up a nightly build/release on a project, was kind of interesting.
tracker1 2267 days ago. link 1 point
When creating a site with ads, wrap your placeholder with an "ad" class, and define the demensions.  Also, make sure that it renders well with `.ad { display:none !important;}` set so that you work well with ad blockers.

When working on injecting ads/content, don't use heavy frameworks like jquery, stick to micro frameworks or preferably hand-craft what you need and use rollup to build/bundle.  http://microjs.com/ is your friend on this one.  If you can come in under 5kb for js+gz, that's your best bet here.
tracker1 2272 days ago. link 1 point
AFAIK optional chaining and the nullish coalescing operator are not in any browser or in Node 12. I'm am using a babel transform for it in my web projects. Also, I believe TypeScript has added support, so you get it there.
tracker1 2272 days ago. link 1 point
Nice little library... probably a great option for adding dynamic elements to server-rendered content, where you might otherwise reach for jQuery (or Knockout).
tracker1 2272 days ago. link 1 point
React is a View engine.  Redux is a state management module.
tracker1 2273 days ago. link 1 point
Didn't dig into it, the project is missing a license file, and doesn't seem to have much documentation either.  Readme file is overly sparse.
[more]