Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
acemarke
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
40 ms
·
331.
▲
by
acemarke
5y ago
That's a shame. Being able to use React/Vue/Svelte/etc with a relatively tiny native dependency would be fantastic. Any pointers to discussion on what JS/DOM features it's missing that React needs?
332.
▲
by
acemarke
5y ago
Heh, you're welcome! Out of curiosity, what do you mean by "converting completely to hooks" and "not being the right move"? If you mean "sticking with `connect` for Redux usage in components", we _do_ reco
333.
▲
by
acemarke
5y ago
Oh hey, that's my post :) This has been one of the most popular and well-received posts I've ever written (the other being the "Redux and Context" post I wrote earlier this year [0]). I think this one started out at abou
334.
▲
by
acemarke
5y ago
Heh. Somewhat different migration scenario, but I actually published an extensive post just yesterday on a long migration from a legacy AngularJS app to Next+React+TS: https://blog.isquaredsoftware.com/2021/12/code
335.
▲
by
acemarke
5y ago
Self-plug: my blog is 100% technical content. Mostly long-form articles on React and Redux, as well as various other web dev topics and things I've found useful in my career: https://blog.isquaredsoftware.com/
336.
▲
Migrating a Mean AngularJS App to React, Next.js, and TypeScript
(blog.isquaredsoftware.com)
1 points
by
acemarke
5y ago
|
0 comments
337.
▲
by
acemarke
5y ago
There's a pretty good looking modern remake of the original MoO called "Remnants of the Precursors". Appears to be basically a 1-person effort. I tried it out recently and was _very_ impressed. Really seems like it's
338.
▲
by
acemarke
5y ago
Belated answer, but several reasons: - I created Redux Toolkit :) - It's also "official", ie, from the actual Redux team (myself, Lenz Weber, Tim Dorr) - RTK simplifies common Redux patterns, but tries to stay "typically
339.
▲
by
acemarke
5y ago
We've been trying to generally discourage Redux users from using sagas in most cases. I've always felt that they were absolutely overkill for basic data fetching scenarios, and this is even more true now that data fetching librar
340.
▲
by
acemarke
5y ago
Ironically, a couple days ago the Blitz lead posted an RFC proposing that they shift from being a fork of Next to being a separate lib focusing on the data/auth layer: https://github.com/blitz-js/blitz/discuss
341.
▲
by
acemarke
5y ago
I'm biased, but I would strongly recommend using our official Redux Toolkit package rather than Easy-Peasy: https://redux-toolkit.js.org
342.
▲
by
acemarke
5y ago
Agreed on all counts. Like, I don't want _everyone_ to use Redux. I just want people to understand "here are the strengths, weaknesses, and use cases of tools X, Y, and Z, and when it may make sense to use them". Honestly, w
343.
▲
by
acemarke
5y ago
My estimates are primarily based on NPM download stats for React, Redux, and React-Redux, as well as more anecdotal evidence like "what libs are you using?" polls that I see on Twitter and such. These are all obviously _very_ impe
344.
▲
by
acemarke
5y ago
Great question. I actually was one of the earliest users of Redux-ORM, back when I myself was first learning Redux in 2015-16, and I wrote a blog tutorial series in 2017 that showed how to use it. At the time, the main benefits to using Red
345.
▲
by
acemarke
5y ago
I'm very curious, what concerns do you have about Immer? fwiw I just wrote a sibling comment that goes into some detail on what problems Immer solves and why we included it in RTK: https://news.ycombinator.com/item?id=
346.
▲
by
acemarke
5y ago
Yeah, concerns about Immer have come up a number of times. The usual concerns people have are: - Too much "magic" as you said - Proxy-wrapped data values can be harder to inspect in the browser's debugger - Seeing "mutat
347.
▲
by
acemarke
5y ago
Thank you, appreciate it! FWIW I _have_ written actual code in the libraries too :) I wrote React-Redux v7 by myself, shepherded the design of our hooks API in 7.1, and did all the coding work for v8. Also created Redux Toolkit, added a c
348.
▲
by
acemarke
5y ago
Heh, glad to hear that RTK is an improvement there :)
349.
▲
by
acemarke
5y ago
Hi, I'm a Redux maintainer. I've written extensively about the fact that A) Redux _has_ been overused, B) that many of the complaints were really more about the standard code patterns needed and the "boilerplate" involve
350.
▲
by
acemarke
5y ago
The new docs site explicitly addresses much of that: https://beta.reactjs.org
351.
▲
by
acemarke
5y ago
Huh, neat. Out of curiosity, have you considered using our official Redux Toolkit package as part of the server implementation? https://redux-toolkit.js.org
352.
▲
by
acemarke
5y ago
Worth linking to Dan's latest announcement comment where he describes the status [0] and the PR that added the support [1]. Key point: > The behavior has landed in the @experimental builds, but we haven't yet reached a final de
353.
▲
by
acemarke
5y ago
Hmm. I realize that the .NET world is different than JS, but that _is_ an anti-pattern for Redux usage - separation of "what happened" from "how the state is updated" is absolutely intentional: - https://redux
354.
▲
by
acemarke
5y ago
Hi, I'm a Redux maintainer. I'm always interested in hearing examples of Redux being used without React :) What are you using it for? Any particularly interesting problems you're solving with it, or pain points you've
355.
▲
by
acemarke
5y ago
Hi, I wrote this post (but did not submit it). I have answered this question hundreds of times over the last several years, on Reddit, HN, Stack Overflow, Twitter, and Reactiflux. Literally, we still see many people ask _every single day_
356.
▲
by
acemarke
5y ago
No, because it's _not_ React-based at all. It's a completely different framework. It's got some syntax similarities, in sort of the same way that most of the C-family languages look similar (for those languages, curly braces,
357.
▲
by
acemarke
5y ago
Heh, that's actually part of the point I'm making - big difference between "size of build dependencies unzipped and extracted on disk", vs "size of actual app bundle".
358.
▲
by
acemarke
5y ago
I just tried running WinDirStat on the `node_modules` folder in a Create-React-App project I had lying around. Total size was 234 MB. Of that, 129MB was JS files. By far the biggest piece was TypeScript, which has 45MB of .js in 6 files m
359.
▲
by
acemarke
5y ago
Okay, so what I _think_ you're saying here is that we should no longer be thinking about divs and spans and such as the raw materials we use to write a page, nor should we be writing HTML itself, but rather VB6-style "I want to dr
360.
▲
by
acemarke
5y ago
It seems like you're conflating a few different concerns here: - JSX as a paradigm for defining component display output - Drag and drop capability for UI design - How web apps are built tooling-wise - The actual display layer being us
More ›