Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
firasd
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
59 ms
·
691.
▲
by
firasd
10y ago
Your concerns about input events moving up and down the component tree seem misplaced. It’s what happens when you use React anyway (unless you’re only using local component state); putting these input values in the Redux store only makes th
692.
▲
The Prescient Joel on Software
(medium.com)
5 points
by
firasd
10y ago
|
1 comments
693.
▲
by
firasd
10y ago
Set Your Priorities: http://www.joelonsoftware.com/articles/SetYourPriorities.htm... A couple recent related articles: 1) How to Pick Winning Product Features https://medium.com/pm-insights/how-to-
694.
▲
by
firasd
10y ago
Bill Gates: It's the same hamburger https://www.youtube.com/watch?v=rZWql53Fsys
695.
▲
by
firasd
10y ago
Keep in mind that while the post is poetic, he mentions getting rich in an IPO, and references Peter Thiel. So when he says wealth doesn't make you happy, he's saying something like "the difference between 10 million and 50 m
696.
▲
by
firasd
10y ago
Kinda sounds like Redux.
697.
▲
by
firasd
10y ago
Yeah. The way I think of this is, let's start from (my subjective) aesthetic first principles. Take an abstract human body, and look at its poses and movements: standing, sitting (and other forms of resting), walking, running. A smartp
698.
▲
by
firasd
10y ago
Great article. One recent example I liked: the latest Mission Impossible had displays in fabrics, which I thought was a good alternative to smartwatches https://pbs.twimg.com/media/CYKRTPmUAAAh7bz.png:large
699.
▲
by
firasd
10y ago
For a sense of urgency, imagine you're Manny Pacquiao and trying to hit Floyd Mayweather without resorting to this predictable series of left-right punches https://www.youtube.com/watch?v=fZklifGarQc
700.
▲
React Sync Demo
(github.com)
4 points
by
firasd
10y ago
|
0 comments
701.
▲
by
firasd
10y ago
Yeah you definitely need Redux or another state management solution. One of the unorthodox practices React encourages (through the Flux architecture) is to have 'global' state that components can access without passing down props
702.
▲
by
firasd
10y ago
You would need some familiarity with npm first but after that the current practice is to use webpack with 'loaders' to transform JSX, ES6 etc. This is intermediate: webpack-howto https://github.com/petehunt/we
703.
▲
by
firasd
10y ago
I saw this from Redux's creator that aligns with my take: "When people say setState() is an anti-pattern, they mean 500-line components with a complex setState() soup scattered across event handlers. When you spend your days looki
704.
▲
by
firasd
10y ago
Yeah. When looking for videos I saw he updated his presentation and gave it again, but there’s raw appeal in that first ‘Rethinking best practices’ talk. Just something coming in out of left field. (Another early presentation: “Tom Occhino
705.
▲
by
firasd
10y ago
Yeah, fair point. I would say, besides interacting with server-side updates, the other use case for something like React is when you have a bunch of event listeners and find they're getting out of control (onclick function triggering s
706.
▲
by
firasd
10y ago
The intercooler.js example seems to be iterating over the results, building up a string of <tr> items, and then appending the string to the DOM? Yeah, React is for stuff where you never want to do that... it's for when you write
707.
▲
by
firasd
10y ago
This is a very useful walkthrough. Some links for those who are also interested in "Thinking in React" in a more conceptual way (#4 is a presentation from the same person who wrote the walkthrough): 1) React — Basic Theoretical Co
708.
▲
by
firasd
10y ago
The fundamental lesson WordPress taught me is that the product wins over technology. Even back in 2004 it was clear that the internal code wasn't that great. So what? It installed delightfully quickly, and let me create posts with vali
709.
▲
by
firasd
10y ago
React can render on the server side using the initial app state. Couple examples: (1) https://github.com/mhart/react-server-example and (2) This article from me: https://medium.com/@firasd/quick-st
710.
▲
by
firasd
10y ago
The professor who says, “But then, at some point, it became really solipsistic” really gets to my issues with the rise of ‘Social Justice’ politics this decade. As a non-white guy, I understand and sometimes agree with claims like: “Your l
711.
▲
by
firasd
10y ago
I'm not sure about "large applications", but agreed about "data that changes". It's definitely not like dropping in a library like jQuery to spice up some interactions on a webpage. I wrote something about the
712.
▲
by
firasd
10y ago
What people refer to as boilerplate for setting up React, including in this article, is about installing and configuring node modules, build systems and other tools. React itself is just two modules (React, React-DOM.)
713.
▲
by
firasd
10y ago
The problem is that there isn’t really such a thing as an “idiomatic React app”. React is just a view-rendering layer with a small API. You have to put together all the other pieces of your application stack…
714.
▲
by
firasd
10y ago
I feel this way about Node and React sometimes but I'm not sure other environments are necessarily better. In a way the fact that you can do all this in a bunch of text files is pretty elegant. Is installing and configuring Apache and
715.
▲
by
firasd
10y ago
I started using this Chrome extension to block Facebook trends: https://chrome.google.com/webstore/detail/block-facebook-tre... I checked the source and it just seems to grab the div and set the style to hidden. I
716.
▲
React Sync Demo
(github.com)
2 points
by
firasd
10y ago
|
0 comments
717.
▲
by
firasd
10y ago
(Replying since out of edit time window) One more contemporary link I'd put on such a list is "My Heroku Values" https://gist.github.com/adamwiggins/5687294
718.
▲
by
firasd
10y ago
Yeah. I had that feeling when I came across Turing's original article about the Turing Test a few months ago http://www.loebner.net/Prizef/TuringArticle.html . And other classics like Feynman on the Challenger disa
719.
▲
by
firasd
10y ago
I just finished reading this: The Hack at ShapeShift http://moneyandstate.com/looting-of-the-fox/
720.
▲
by
firasd
10y ago
Except it actually makes the problem worse Nope. On real world websites, deferring images, fonts, and making other optimizations can reduce time-to-first paint significantly. That drives real UX and business results (imagine clicking a li
More ›