Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
mosdl
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
16 ms
·
151.
▲
by
mosdl
6y ago
And they make a bunch of custom hardware
152.
▲
by
mosdl
6y ago
The only thing that would be hard to migrate is if you store passwords in Auth0 - you would have to reset everyone's password no?
153.
▲
by
mosdl
6y ago
You still have to run the selectors for all components on each change and check if their result has changed and if so, update the component props. So the more components, the more memory/cpu you waste on each redux update. So now you
154.
▲
by
mosdl
6y ago
A recruiter is the first person a candidate interacts with, so you want someone who actually knows how things work at the company/etc. A rotating group of contractors would probably result in a bad impression.
155.
▲
by
mosdl
6y ago
They could make changes to their offering (like showing the end location, etc) to avoid this, which they are avoiding.
156.
▲
by
mosdl
6y ago
The OP said: "The bugs of yesteryear, tracking down which procedural code path led to modifying a variable, are mostly gone with React." Which is wrong, React doesn't address that in any way, shape or form.
157.
▲
by
mosdl
6y ago
You still have to debug those - if you set the wrong state/etc, things will break like before. All react does is remove the need to modify the DOM directly when you want to modify things.
158.
▲
by
mosdl
6y ago
This. For example, classes are much easier to optimize for than json objects, which really hurts the functional programming and redux crowd.
159.
▲
by
mosdl
7y ago
How does this work with IDEs like IntelliJ? I believe WSL 1 had issues with having Windows IntelliJ and the source code being in WSL?
160.
▲
by
mosdl
7y ago
Which is a design flaw of redux. Proper systems allow you to access the current state value at all times, without having to worry about batching.
161.
▲
by
mosdl
7y ago
Pretty easy - component that stores a redux computed value and a setTimeout that calls an action with the value. If the settimeout (or a websocket event, etc) fires before the batched update, you are out of sync. Most people have simple ap
162.
▲
by
mosdl
7y ago
You know what happened, not how. Was it a user click on this button or another button? Or was the action triggered by a saga?
163.
▲
by
mosdl
7y ago
We have run into several issues where a user clicks a button (which updates redux) and then quickly clicks on something else and the 2nd component has not been updated yet as it used the mapState prop (the update is being batched by redux a
164.
▲
by
mosdl
7y ago
Most redux users use mapStateToProps and rely on it to notify you when a redux change has happened.
165.
▲
by
mosdl
7y ago
I have yet to be given a good usecase for Redux. All I see is code that ends up causing issues: - redux pollution (not cleaning up state and things leaking) - because you can't access redux state directly, components have to copy redu
166.
▲
by
mosdl
7y ago
Amazing how many downvotes all the redux critical posts get. Redux is indeed horrible and leads to all sorts of bloat and bugs.
167.
▲
by
mosdl
7y ago
Even in complex apps, most of the DOM remains the same and you are changing several properties (some text, changing some classes).
168.
▲
by
mosdl
7y ago
Yet we all managed to write complex web applications without much trouble that performed better than React ever can. DOM manipulation was needed rarely actually - usually you replace subtrees anyways (switch tabs, etc).
169.
▲
by
mosdl
7y ago
Diffing isn't really needed - usually you either replace a subtree completely or change a few attributes, which isn't hard to write code for. Diffing will always be expensive memory wise.
170.
▲
by
mosdl
7y ago
Doing interviews I've heard a lot of this - react is more efficient than using the DOM directly, etc but no one can tell me why - they are just parroting what they hear or get taught at coding camps and make a fool of themselves.
171.
▲
by
mosdl
7y ago
Dremio | Full Stack and System Engineers | Santa Clara, CA | Onsite (once shelter-in-place ends) | https://www.dremio.com/ We are looking for Full Stack and System engineers. Our stack is Java and React and open source our
172.
▲
by
mosdl
7y ago
How did the first engineer get accredited then? :)
173.
▲
by
mosdl
7y ago
I only use them in areas where there aren't many or any hotels, quality is much better in those areas usually.
174.
▲
by
mosdl
7y ago
JS has no DOM API, browsers provide JS an API to use. Plus DOM had nothing to do with rendering, it's just tree manipulation APIs.
175.
▲
by
mosdl
7y ago
I use async programming for JS interviews - its surprising how many people, no matter how much experience, fail to understand how javascript execution happens and totally flop.
176.
▲
by
mosdl
7y ago
Of 20 people I've interviewed who completed a coding bootcamp without prior CS education in the past year or so, I think 1 passed the phone screen (all front end). At this point I outright reject them because of the futility.
177.
▲
by
mosdl
7y ago
It's required, not optional last I checked. Similar to the Costco membership.
178.
▲
by
mosdl
7y ago
Didn't people pay for Theranos tests that lied about their abilities? That is way worse.
179.
▲
by
mosdl
7y ago
Go to any rural area in europe and everyone has a car.
180.
▲
by
mosdl
7y ago
No, React was created to allow contractors to write code fast and not worry about optimization.
More ›