Echo JS 0.11.0


tracker1 comments

tracker1 1 day ago. link 2 points
Mostly agree... I'd probably be more inclined to switch to typescript before adding an immutable library at this point.  And I'm not really doing ts in the app code.
tracker1 1 day ago. link 2 points
Note: put .env in your .gitignore file... so it doesn't accidentally get checked into source control.
tracker1 2 days ago. link 1 point
Would add joi and ajv to the list, since they're more widely used than either.
tracker1 5 days ago. link 1 point
This is not a "fix" it's a work around... if you actually want italics, it's still broken.  I can't speak to the source of the bug, but did you actually submit a support ticket or bug report to the Chrome developers?
tracker1 5 days ago. link 1 point
As-demonstrated can only have a single emitter in a chain... there are no considerations for subscribing to event channels at all.
tracker1 5 days ago. link 1 point
Works, decent structure... less opinionated, similar to bootstrap, bulma or any number of other CSS libraries.

Kind of would like to see one of these css library/frameworks much more opinionated.  For example, just make the baseline button as well as submit/reset form types the default button composition (no btn class needed).  Header elements should also be styled by default.  Similar for stylized radio/checkbox items...

    <label><input type="radio" .../><span>text</span></label>

As a convention is enough to custom style in modern browser with the nearest neighbor, the label wrapping the input will cause the label to work without the need of a "for" attribute.

The class soup just gets a bit weary after a while, and largely unnecessary.
tracker1 5 days ago. link 1 point
For most of what I've been working on lately, the API is a slice from the main application domain... ex: /api will reverse-proxy to the api service, other routes will serve from the ui static files.

No CORS at all, so only the service domain can be used in a browser.

This can be done with nginx, caddy, kubernetes entry, or even in IIS via the ARR extension.