Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
acemarke
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
63 ms
·
601.
▲
by
acemarke
6y ago
Sure! I definitely remember your comment. Not sure if I fully addressed all the concerns you were listing there, but hopefully it's an improvement, and I'd appreciate any further feedback on it. Still not sure how to split the e
602.
▲
by
acemarke
6y ago
Thanks, I'd missed a relative path for that link. Just pushed a fix.
603.
▲
by
acemarke
6y ago
Ah, gotcha.
604.
▲
by
acemarke
6y ago
That's the first time I've ever heard anyone say that "MobX and React are conceptually similar". MobX is technically based on an "observable" paradigm, but it's a completely different API and mental approa
605.
▲
by
acemarke
6y ago
> I liked how you demonstrated rerendering issues (illustrated with the profiler tool) and applied those techniques (selectors, normalization) to fix them. Great, that's _exactly_ what I was trying to accomplish! > It was funny t
606.
▲
by
acemarke
6y ago
That's actually covered directly in the linked tutorial page [0], as well as in our Redux FAQ section [1] Note that one of the weaknesses of the React context API is that it currently has significant limitations in how components using
607.
▲
by
acemarke
6y ago
As mentioned in a sibling comment: We have a new official "Redux Toolkit" package [0], which is now our recommended way to write Redux logic. It includes utilities to simplify several common Redux use cases, including store setup
608.
▲
by
acemarke
6y ago
Thank you! It's actually just a bit sad to look at the page hit stats, and see that the readership drops off dramatically after Part 1. Looks like Part 6 has <10% of the hits that Part 1 does. Not surprising when you think about i
609.
▲
by
acemarke
6y ago
The React ecosystem has a whole has moved towards a more "integration"-ish approach towards testing components. There's multiple reasons for this: - Kent C Dodds is a strong proponent of that approach, and teaches it in his
610.
▲
by
acemarke
6y ago
Yeah. We've had a lot of very positive compliments about the Redux docs over the years, but at the same time I also see a lot of weaknesses and ways they can be improved (hence the docs rewrite effort). One of the biggest gaps has bee
611.
▲
by
acemarke
6y ago
Hey, I wrote this! Neat to see that someone else submitted here. I spent a _lot_ of time and effort trying to put this together [0]. The existing tutorial sequence has been read by a lot of people over the years, but it takes a "bott
612.
▲
by
acemarke
6y ago
I talked extensively about the pros, cons, and tradeoffs in my post "Learning TypeScript as an App Dev and Library Maintainer": https://blog.isquaredsoftware.com/2019/11/blogged-answers-le...
613.
▲
by
acemarke
6y ago
Well, glad someone else thought this was worth submitting :)
614.
▲
by
acemarke
6y ago
React _is_ a framework, because: - You hand it your code and it calls your code when it wants to - Your code must conform to React's expectations. React is _not_ a framework, because: - It only focuses on one thing: defining a tree of
615.
▲
by
acemarke
6y ago
full disclosure: I've met Amal at a couple conferences and talked to her a few times, but don't claim to know her extremely well. I have no particular reason to doubt the factual claims she's made so far (NPM employees laid o
616.
▲
by
acemarke
6y ago
It _is_ derivative of React hooks... but that's not a bad thing at all. (And to be clear, I'm deeply involved in the React community myself). Tools and libraries are always influenced by what's going on in the ecosystem. New
617.
▲
by
acemarke
6y ago
Per her prior tweets, she already left NPM/MS along with several others who were let go / pushed out. So, "past CTO", not "future". https://twitter.com/nomadtechie/status/128383678011
618.
▲
New “Redux Essentials” core docs tutorial: learn Redux, the right way
(redux.js.org)
2 points
by
acemarke
6y ago
|
0 comments
619.
▲
by
acemarke
6y ago
I truly have no idea how recommending something because I know the author and know that all his work is high quality is "unethical".
620.
▲
by
acemarke
6y ago
Yes, because I know the quality of content that Shawn creates.
621.
▲
by
acemarke
6y ago
I'm a Redux maintainer. FWIW, we've _always_ tried to clarify when it actually makes sense to use Redux: https://redux.js.org/faq/general#when-should-i-use-redux https://medium.com/@dan_abramo
622.
▲
by
acemarke
6y ago
I can confirm that my own comment above was 100% spontaneous. That said, Shawn has been writing this book in public, so anyone who's been following him does know that he was about to launch.
623.
▲
by
acemarke
6y ago
As a bystander but friend of Shawn's, I can say that over the last few years he has demonstrated an incredible ability to quickly learn and master concepts, then pass that information on to others. I've seen him go from someone wh
624.
▲
by
acemarke
6y ago
There's a wonderful library called `plumbum` [0] that lets you execute external binaries and capture output using Bash-like piping syntax, while preserving all the goodness of Python's syntax and flow control. Highly recommended.
625.
▲
by
acemarke
6y ago
Not in this example, no. There's zero benefit to memoizing a callback that's passed to a "leaf/host" element like a `<button`> See my extensive post "A (Mostly) Complete Guide to React Rendering) for det
626.
▲
by
acemarke
6y ago
As I just said on Twitter [0]: > Hrm. I just got switched to Github's new look and feel... and tbh, I _don't_ like it. I liked the 3D depth of the prior buttons. The new ones are too flat, the text is thinner, and they're
627.
▲
by
acemarke
6y ago
Thanks, appreciate the feedback. The good news is that I have been working on a new "Quick Start" tutorial for the Redux core docs [0], which is _exactly_ what you're describing there: an intro to Redux, for folks who have ne
628.
▲
by
acemarke
6y ago
I've always felt that a CS degree (at least based on the curriculum I went through) is really three separate and only partly related areas of study crammed together: - Teaching people how to program for the first time. Most of us had
629.
▲
by
acemarke
6y ago
Mark's Dev Blog I wrote extensive detailed technical posts on React and Redux usage and implementation. https://blog.isquaredsoftware.com
630.
▲
by
acemarke
6y ago
Awesome, glad to hear that Redux Toolkit is working well for you! Any feedback on using it, or things you'd like to see us try adding to RTK?
More ›