Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
alexey2020
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
6 ms
·
1.
▲
by
alexey2020
3y ago
That's cool and definitely the future of HTML streaming, it simplifies things a lot: js enabled out-of-order streaming leads to SEO problems and frameworks usually need to come up with workarounds - detect bots and turn of streaming fo
2.
▲
by
alexey2020
3y ago
came here to write a similar comment. Totally agree! Focusing on a particular metric for the sake of the metric - what's the point? Let's spend a couple months, refactor an app to generate less js just to look cool in the eyes of
3.
▲
by
alexey2020
5y ago
>But in the article, you wrote: I also wrote a bit below: "be transparent to components and not affect their logic in any way (make components think they communicate to Backend directly)" I met people trying to use ReactQuery w
4.
▲
by
alexey2020
5y ago
Thank you for the valuable feedback! Very good question about the difference between `getFromStore` and `useBookQuery`. When using `getFromStore` you have the expectation that the value is already in the Store. Someone should have already p
5.
▲
by
alexey2020
5y ago
>the quality and intent Marin fowler’s of writing is actually respectable. Sorry, didn't want to be picky, but the article you mentioned is not written by MarTin Fowler. And I also didn't find there many "citations" y
6.
▲
by
alexey2020
5y ago
"the small cognitive load" - true that! Thanks for the link to the podcast. Will definitely check this out
7.
▲
by
alexey2020
5y ago
>Whether the action goes and fetches data from the server doesn't matter I tried to explain in the article why it matters. If you are comfortable with putting all the data in a single Store and this works fine to you, then you may d
8.
▲
by
alexey2020
5y ago
>Let's say you want to add a button somewhere that hides/shows another widget. That's a good case. This is purely UI state, right? (we don't store it on the server). For UI state we still need to depend on prop-drilli
9.
▲
by
alexey2020
5y ago
Agree. There are applications where widgets approach would not bring much benefits. Let say, applications with lots of UI state (state that doesn't exist on Server). Also not sure how it would work with realtime apps. It's the sam
10.
▲
by
alexey2020
5y ago
>Seems like it could create a lot more code with less re-usage, since every widget has to manage this themselves. It might create a bit more code in components, agree. I think this is a fair price for the all benefits it brings. That sai
11.
▲
by
alexey2020
5y ago
With pure Redux approach the mutation flow is more complex: - send mutation request to Backend - fetch updated data - put the updated data in the Store - see the updated data propagated in components The suggested approach: - send mutation
12.
▲
Widget Driven Development
(alexei.me)
40 points
by
alexey2020
5y ago
|
24 comments
13.
▲
State Management: Separation of Concerns
(alexei.me)
1 points
by
alexey2020
5y ago
|
0 comments
14.
▲
by
alexey2020
5y ago
The report is split into 6 parts. Each part is dedicated to one of the 6 major categories in Frontend Development: Frontend Frameworks https://moiva.io/blog/2021-q1-state-of-js-frameworks/ State Management Librari
15.
▲
I collected stats for 83 JavaScript libraries in Q1 2021 and used 17 metrics
(moiva.io)
2 points
by
alexey2020
5y ago
|
1 comments
16.
▲
by
alexey2020
6y ago
So much enjoyed the reading! I like that kind of stuff - nothing serious and lots of fun. Well done!
17.
▲
by
alexey2020
6y ago
If there is no cached data, then it doesn't matter. With Vercel it doesn't matter even in case there is valid cached data, because Vercel doesn't execute the function in that case. Cloudflare always executes the Function rega
18.
▲
by
alexey2020
6y ago
Wow, thanks for the insight and ideas! Agree, having native running runtime at edge can can give a start to some interesting projects
19.
▲
by
alexey2020
6y ago
if it's a real issue and you have to issue lots of subrequests, then you don't really get advantage from all Cloudflare micro-optimisations. In such situation I would suggest to look for other Serverless providers, or maybe tradi
20.
▲
by
alexey2020
6y ago
Serverless are not all the same. Cloudflare uses V8 and you can't require npm packages, right. Vercel and many other implementations use NodeJS and you Can require npm packages.
21.
▲
by
alexey2020
6y ago
Right. It's not missing. I pointed that out in the "Serverless Functions requests handling" section, also visually
22.
▲
by
alexey2020
6y ago
Thanks for feedback! Caching... it took me time to get my head around it. With Vercel it works more or less the way I imagined. It surprised me that Cloudflare has a different approach. But once I got it, it started making sense and I like
23.
▲
by
alexey2020
6y ago
> in what situation is it really worth all the added complexity of risk of pushing out functions to the edge If you are talking about developer point of view, then there is no additional complexity. All the complexity is covered by the u
24.
▲
by
alexey2020
6y ago
AFAIU all the buzz is about good manners. If you announce smth with pomp, it's good to not forget about those who has contributed to the achievements
25.
▲
Vercel Serverless Functions vs. Cloudflare Workers
(moiva.io)
74 points
by
alexey2020
6y ago
|
35 comments
26.
▲
by
alexey2020
6y ago
Hello! Alexey, the author of Moiva.io, here The Kraken is out and I'm happy to discuss and answer any questions/suggestions you have In short, what the article is about. I rewrote Moiva completely, I put GitHub in the center of th
27.
▲
Moiva.io v3: a universal tool to Evaluate, Discover and Compare software
(moiva.io)
3 points
by
alexey2020
6y ago
|
1 comments
28.
▲
by
alexey2020
6y ago
Well, I see that stats for es-dev-server/@web/dev-server and prisma/prisma-2 are completely different. Bundle size is different, languages is different. I think it's fair enough to treat them as different packages. For e
29.
▲
by
alexey2020
6y ago
Thanks for valuable feedback! I'm always glad and eager to hear such meaningful comments. > - I think Contributors per year and Releases per year, could be monthly or quarterly as it's more granular and yearly change doesn'
30.
▲
by
alexey2020
6y ago
React or Vue? Angular or Svelte? MomentJS alternatives? We've all been there. It's usually a daunting and time-consuming activity to find a better library and decide on a Tech Stack for your next project. Usually we developers ski
More ›