Echo JS 0.11.0

<~>

tracker1 comments

tracker1 2090 days ago. link 2 points
Mostly agreed... I think of deno more as an alternative major change (much like python 2/3 split).  Not sure if deno will take over, there are a lot of places that should be shorn up... one of the big ones for me is a consistent ffi library, and while node-ffi package works, it's not exactly transparent and imo should be in the box.

Deno is pretty solid in most other areas though... only native modules need a bit more considerations for the use cases without a good alternative.  That's a little outside my comfort zone as a developer, but there's work in progress for all of this.
tracker1 2090 days ago. link 1 point
You can have your main index.html as 404.html (github sites default iirc), and use client side routing.
tracker1 2094 days ago. link 1 point
Need to check this out... pretty interesting to see react in a deno project... didn't realize they enabled it for their ts compilation.
tracker1 2094 days ago. link 1 point
I'm not sure I find the pipe method really any easier to reason with than the pipeline chain.  Also, if you're using babel, you can just enable the pipeline operator.

https://babeljs.io/docs/en/babel-plugin-proposal-pipeline-operator

The F# inspired version is probably the best option imo...

https://github.com/valtech-nyc/proposal-fsharp-pipelines

    const getData = async url => url |> fetch |> await |> r => r.json()
    const logIt = async p => p |> await |> console.log;

    'http://foo' |> getData |> logIt;
tracker1 2096 days ago. link 1 point
My only curiosity is if OvermindJS can grow to larger state objects... with Redux, you can slice your state up into separate sub-reducers per property on the state object.

Also, I prefer the hooks to the hoc at this point.
tracker1 2104 days ago. link 1 point
This publishes an SPA with no routing and no server-side rendering... it breaks most of what a blog should carry... you cannot share a link to an article even.
tracker1 2104 days ago. link 1 point
I don't see the value beyond actual bash scripts and/or npm scripts...
[more]