Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
philipp-spiess
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
6 ms
·
1.
▲
by
philipp-spiess
1y ago
We actually ended up adding the custom animation-specific data props to all dialog specific custom elements before the release, so the group-*/dialog is no longer necessary but I forgot to update the code in the post. I doubt that chan
2.
▲
by
philipp-spiess
7y ago
PSPDFKit | REMOTE | Full-time | Elixir We’re looking to hire a backend developer to join our team working on PSPDFKit for Web ( https://pspdfkit.com/pdf-sdk/web/ ). We are building a modern PDF SDK with technologies
3.
▲
by
philipp-spiess
8y ago
Your users still want feedback _as they type_. The idea of this example though is that you want to see an update as soon as possible. If you use blur, you're also deferring the updates until the timeout is over for the first time - The
4.
▲
by
philipp-spiess
8y ago
The best approach is to always updated the input synchronously in React (in the same tick when the event is handled). If you do it in another tick, you will always have to handle race conditions. This is a problem for all input elements tho
5.
▲
by
philipp-spiess
8y ago
The batching effect of a debounced input is very important. Running an update for every keystroke is expensive and you only want to run it with the latest input anyway. This is why Concurrent React will make batching the default behavior. I
6.
▲
by
philipp-spiess
8y ago
No, that's not possible in JavaScript. The important part is that React components are lazily evaluated[1] and are not rendered as a stack. So React can render a few components and then pause for higher priority work. As a user of the
7.
▲
by
philipp-spiess
8y ago
Something like this is definitely possible. For example a <div hidden> could apply all updates using a lower priority. This can be used to detect offscreen content or non-active tabs.
8.
▲
by
philipp-spiess
8y ago
Keep in mind that the APIs are still WIP. I choose an example with lots of APIs on purpose. There's a lot that can be inferred by e.g. looking at the event type or understanding semantics. I expect this to be better when the features n
9.
▲
by
philipp-spiess
8y ago
If you delay the artificial slowness that I added in the Text component after the rendering, it sure will be faster. The point is to simulate an expensive component tree with this. If we keep that in ( https://codesandbox.io/
10.
▲
by
philipp-spiess
8y ago
It feels a bit faster, yes. The reason is that the input value is updated earlier. The problem is, that the UI is still unresponsive when the timeouts fire which you feel if you type fast or look at the animation/fps meter. Instead of
11.
▲
by
philipp-spiess
8y ago
PSPDFKit | REMOTE | Full-time | JavaScript, React, WebAssembly | https://pspdfkit.com/web We’re looking to hire frontend engineers to join our team working on PSPDFKit for Web. We are building a modern PDF SDK with technolo
12.
▲
by
philipp-spiess
8y ago
Have you tried enabling the experimental new WebAssembly baseline compiler in Chrome Canary?
13.
▲
by
philipp-spiess
9y ago
PSPDFKit | REMOTE | Full-time | JavaScript, React, Elixir PSPDFKit is the leading SDK for working with PDF files on Android, iOS and Web. We're trusted by Dropbox, Box and many Fortune 500 companies to take care of these tricky yet ess
14.
▲
by
philipp-spiess
10y ago
I doubt it's up to the webkit team to make this decision. Anyway, Apple adopting would make things easier
15.
▲
by
philipp-spiess
10y ago
I'd really love to see more high quality posts like this on React. Thank you for sharing the knowledge!
16.
▲
Backblaze Introducing B2 Cloud Storage
(backblaze.com)
4 points
by
philipp-spiess
11y ago
|
1 comments
17.
▲
Ember 1.9.0 Release
(github.com)
3 points
by
philipp-spiess
12y ago
|
0 comments
18.
▲
Message Threading (2002)
(jwz.org)
1 points
by
philipp-spiess
12y ago
|
0 comments
19.
▲
Ask HN: How to find a project we enjoy again?
3 points
by
philipp-spiess
12y ago
|
3 comments
20.
▲
Non-IP Messenger App
(indiegogo.com)
3 points
by
philipp-spiess
13y ago
|
2 comments
21.
▲
The New Razer Blade
(razerzone.com)
31 points
by
philipp-spiess
13y ago
|
70 comments
22.
▲
by
philipp-spiess
13y ago
MVP - Most Valuable Player - even said I should say this as a hashtag, although i meant Minimal Viable Product
23.
▲
by
philipp-spiess
13y ago
It's a good idea but it's easier to click the link and do the action manually instead of typing the text and click reply. So there is absolutely no gain for me in using your product.
24.
▲
Eclipse Git Plugin 2.0 Released
(github.com)
15 points
by
philipp-spiess
14y ago
|
1 comments
25.
▲
GitHub Pages Update
(github.com)
5 points
by
philipp-spiess
14y ago
|
0 comments
26.
▲
Ask HN: Startup Movie
2 points
by
philipp-spiess
14y ago
|
1 comments
27.
▲
What They Don't Tell You About Public Speaking
(zachholman.com)
255 points
by
philipp-spiess
14y ago
|
60 comments
28.
▲
Campfire API on GitHub
(github.com)
1 points
by
philipp-spiess
14y ago
|
0 comments
29.
▲
Easily apply to a variety of startup accelerators
(accelerato.rs)
2 points
by
philipp-spiess
14y ago
|
0 comments
30.
▲
Windows on the Bay - Let's Party
(github.com)
7 points
by
philipp-spiess
14y ago
|
0 comments
More ›