Echo JS 0.11.0

<~>

tracker1 comments

tracker1 2266 days ago. link 1 point
Personally, I've found that to a large extent, if you aren't a content driven site/app that the SEO portion is largely not going to be very useful. Also, Google and Azure are pretty quick to handle JS content changes (usually 2-3 days from past experience). If what you are building is more like an application, and you aren't selling products in a public facing way then you may not want to focus on SEO or server-rendering.

However, if you are largely content driven, or public facing sales driven you should probably go the other direction with pre-rendered content first, then add features as needed. It comes down to what your focus is on.

I've been split about half and half in my career between the two, and it really should inform your approach. The more SEO friendly your content needs to be, the more you should lean into a static first approach.  Even if that means running multiple renders a day.  If you're dealing with a lot of content, with lots of searchable options, and results that need indexing, you may want a light server to do your basic renders. If you're creating an application experience like chat, games or otherwise heavily interactive content, then don't worry about the server/seo render.  Most of the businesses I've worked with rely on other sales channels and SEO has been a reduced influence.
tracker1 2267 days ago. link 3 points
If you're using the default environment variables for your credentials, you don't need to enter them with the AWS S3 client lbirary.
tracker1 2270 days ago. link 1 point
Not saying it is... but in the browser, fetch is free.  And node-fetch is iirc dramatically smaller all the same.
tracker1 2273 days ago. link 1 point
Just no... create your own simple wrapper around fetch, which is already in modern browsers.
tracker1 2275 days ago. link 1 point
Frankly, too many companies are already abusing this feature... I'd love to just turn it off in my browser altogether.

(actually meant to downvote)
tracker1 2278 days ago. link 1 point
Material UI is a component library, but it's not coming from google, it is an implementation of Google's Material Design (I don't know why this bugs me that people get it wrong so often).

Also, the other UI kit mentioned, I'm not even sure how it made the list.  It's woefully incomplete.  react-bootstrap[1] or reactstrap[2] would both be better options.

[1] https://react-bootstrap.github.io/
[2] https://reactstrap.github.io/
tracker1 2278 days ago. link 1 point
That works... though, probably my favorite datepicker (excluding the lack of sizing for phone/touch) is probably the UX for the Microsoft Ajax Toolkit (hate the toolkit, UX for dates is really good).  When you click on the month/year title, you get a panel with each month in the year with prev/next, click on the title again, and you get a decade of years with prev/next.

https://ajaxcontroltoolkit.devexpress.com/Calendar/Calendar.aspx

About the only thing I'd do is tweak the styling a bit larger, and display it full screen for small/mobile devices (phone).  I always thought it was a very intuative interface.

I made this one a few years ago... don't like it as much as the one above, but it's good for mobile use.  The demo only shows 3 years, but it's in a scrolling field like the months.  I should really break it up, and make it compatible with the material-ui library... as it is, it works standalone.  Next time I need a date picker beyond the browser's date input, I'll probably revise it.  Right now, I mostly just use <input type="date" /> and defer to the browser's UI.

https://github.com/tracker1/md-datepicker/
http://tracker1.github.io/md-datepicker/
tracker1 2279 days ago. link 1 point
Two of my biggest complaints with date pickers are that they often don't align correctly for mobile, and a bigger issue is the inability to jump to a given month/year...  About half the examples are unusable for something like a Date of Birth field.
[more]