Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
amk_
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
12 ms
·
1.
▲
CNN headlines, according to a neural net
(aiweirdness.com)
3 points
by
amk_
8y ago
|
1 comments
2.
▲
Generated ice cream flavors: now it’s my turn
(aiweirdness.com)
1 points
by
amk_
8y ago
|
0 comments
3.
▲
by
amk_
8y ago
Here's one: https://medium.com/@mbaranovski/quick-guide-to-tdd-in-react-...
4.
▲
by
amk_
8y ago
Extracted boilerplate from some of my libs: https://github.com/alexkrolick/react-lib-quickstart Want to port this to a CLI eventually, too
5.
▲
by
amk_
9y ago
IMO its origins in the gaming community, and all the moderation features that grew out of it, make Discord a much better fit for open source communities than Slack. For example: - Individuals can block and report other users - There are tie
6.
▲
by
amk_
9y ago
A framework like Phoenix would be awesome. Even something more lightweight (Express-like) would be pretty handy. Clojurescript front-end, Clojure backend...
7.
▲
What makes a good [React Component] test?
(blog.progressly.com)
1 points
by
amk_
9y ago
|
0 comments
8.
▲
by
amk_
9y ago
CSS-in-JS libs like https://emotion.sh make "micro-componentization" even easier - pretty much every raw DOM element can be replaced by a domain-relevant/ui-relevant component type. Then if you need to add somethi
9.
▲
by
amk_
9y ago
Fastify is a similar project that aims to be faster than Express and adds a number of API improvements like baked-in schema validation for routes, logging, and async-by-default APIs. Haven't used it in production but replaced Express w
10.
▲
by
amk_
9y ago
This would be a good checklist for anyone considering building a UI framework. This kind of thing is the reason Bootstrap & friends are so large - they do a lot for you.
11.
▲
by
amk_
9y ago
I have to agree, this will create a new component type every time the function is called, definitely causing a repaint and re-render of the subtree. The "right" way to do this is re-implement `connect` as a render-callback and the
12.
▲
by
amk_
9y ago
Still, it isn't entirely obvious under what conditions the methods of a React Component class are going to be called. For all you know they might always be called against the instance.
13.
▲
Show HN: React-Renderless
(github.com)
1 points
by
amk_
9y ago
|
0 comments
14.
▲
by
amk_
9y ago
Wrote about that recently: https://medium.com/@alexkrolick/writing-react-components-for... See also: the docs
15.
▲
by
amk_
9y ago
The adapter system is super interesting: https://github.com/airbnb/enzyme/blob/master/docs/guides/mig... This might be the way to go for complex dependencies like React where APIs move in and o
16.
▲
Show HN: React Composition Patterns from the Ground Up
(hackernoon.com)
5 points
by
amk_
9y ago
|
0 comments
17.
▲
by
amk_
9y ago
Yeah, I wrote about it last week: 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 Java
18.
▲
by
amk_
9y ago
I could be wrong, but I don't think a LISP macro can transform the structure of the code in the same way that the JSX pragma turns an XML tree "inside-out". For example here's the source for the Babel JSX transformer: h
19.
▲
Show HN: React Composition Patterns from the Ground Up
(medium.com)
3 points
by
amk_
9y ago
|
0 comments
20.
▲
by
amk_
9y ago
KHTML -> Webkit -> Blink \_ Safari \_ Chromium |_ Epiphany |_ Opera 15+ |_ Vivaldi
21.
▲
by
amk_
9y ago
React is my preferred frontend library, so rather than ditch it when I needed to work with a CMS I decided to go JSX-free and write my component in plain ES2015 with Preact's hyperscript/createElement syntax. I thought I'd wr
22.
▲
Show HN: React without a build step (no JSX)
(medium.com)
7 points
by
amk_
9y ago
|
1 comments
23.
▲
Quality Enterprise Web Development WithNode.js
(qewdjs.com)
1 points
by
amk_
9y ago
|
0 comments
24.
▲
by
amk_
9y ago
Some thought-provoking stuff in that one.
25.
▲
by
amk_
9y ago
Just VSCode with the ESLint plugin and this theme: https://marketplace.visualstudio.com/items?itemName=jdinhlif...
26.
▲
by
amk_
9y ago
I used https://getkap.co/
27.
▲
by
amk_
9y ago
Just recorded this GIF of typing out a function with the added visual cues: http://imgur.com/a/LQVV2 IMO it's comparable to a WYSIWYG equation editor vs looking at raw LaTeX - conceptual errors pop more.
28.
▲
by
amk_
9y ago
exactly, and the !== != forms are also correspondingly adjusted
29.
▲
by
amk_
9y ago
I really like the giant, triple-line === ligature for JS in Fira Code. Makes it super-obvious when you are doing strict vs sloppy equality checks.
30.
▲
by
amk_
9y ago
I like how they "trick" you to engage with the video, and don't give you an option to get distracted trying to dig around the page. Normally I skip videos if I can and miss out on the high-level guided introduction. The [vide
More ›