amk_
Generated ice cream flavors: now it’s my turn
https://github.com/alexkrolick/react-lib-quickstart
Want to port this to a CLI eventually, too
- Individuals can block and report other users
- There are tiered mod levels
- Per-community pseudonyms, but a single account makes it easier to track bad actors
Markdown support, including syntax highlighting, is actually better in Discord than Slack already, too.
If you haven't checked out an OSS community on Discord yet here are a few:
What makes a good [React Component] test?
Haven't used it in production but replaced Express with it in some side projects.
Since server.js is built on top of express it might even be possible to build a variant of it on Fastify instead and get those benefits as well.
The "right" way to do this is re-implement `connect` as a render-callback and then use that to create a HOC, not the other way around.
https://github.com/juliankrispel/redux-connector/blob/master...
Here's a Codepen that demonstrates which component-creation methods are safely inlineable and which aren't:
https://codepen.io/alexkrolick/pen/WZwMYW
GIF of repaints: https://user-images.githubusercontent.com/1571667/30631908-f...
Show HN: React-Renderless
See also: the docs
This might be the way to go for complex dependencies like React where APIs move in and out of the main package, or could be implemented by third parties (like how Preact can supply render and createElement in a mostly-compatible way).
It also makes clear that semver dependencies in package.json are insufficient to describe the library combinations that work in the main package.
Show HN: React Composition Patterns from the Ground Up
https://medium.com/@alexkrolick/writing-react-components-for...
"Overall it's not a bad experience. JSX makes HTML feel more at home, but tends to obscure the underlying Javascript. Composition and higher-order components are more obvious in plain JS. If I was writing a library using those patterns heavily I might be tempted to go JSX-free even if bundling with Webpack + Babel."
https://github.com/babel/babel/blob/master/packages/babel-pl...
Show HN: React Composition Patterns from the Ground Up
KHTML -> Webkit -> Blink
\_ Safari \_ Chromium
|_ Epiphany |_ Opera 15+
|_ VivaldiOverall it's not a bad experience. JSX makes HTML feel more at home, but tends to obscure the underlying Javascript. Composition and higher-order components are more obvious in plain JS. If I was writing a library using those patterns heavily I might be tempted to go JSX-free even if bundling with Webpack + Babel.
BTW the Codepen version of the post has much better code formatting: https://codepen.io/alexkrolick/post/react-without-a-build-st...
Show HN: React without a build step (no JSX)
Quality Enterprise Web Development WithNode.js
IMO it's comparable to a WYSIWYG equation editor vs looking at raw LaTeX - conceptual errors pop more.
The [video] tag would be a good warning for the sound though.