Teemu Taskula
@teemu_taskula
Followers
264
Following
9K
Media
175
Statuses
1K
Creating apps at @TaitoUnited with #Reactjs and #ReactNative π¨πΌβπ»βοΈ
Helsinki, Finland
Joined November 2015
If we renamed the deps array to intents array then it would be much clearer that a change in function's reference is practically never **intended** to trigger an effect. It's always the data-like values like primitives, objects, or arrays that should drive the `useEffect`
0
0
1
Too many `useState`s is def a real problem but I would argue that the biggest problem with `useEffect` is having irrelevant values in the deps array, - especially functions `useEffectEvent` solves the function part My spicy take is that functions should never be in the deps πΆοΈ
People give `useEffect` a bad rap, but it isn't usually the source of the problem. The real problem is too many `useState`s. Devs fail to see how their data is connected and model it too discretely. As those connections appear, it is easier to synchronize than refactor the model.
1
0
1
Shout-out to @syntaxfm for absolutely banger Halloween episodes once again! πππ¦ The production quality was 10/10 slimey eyeballs this year π Keep up the good work!
0
0
0
@hackJunction please update the guidebook to at least highlight the importance of live reviewing π Also you should remind people about it during the actual reviewing phase on the location
0
0
0
I cannot emphasize how important this is! I still fondly remember the og Junctions pre-covid where people went from table to table to hear the pitches, ask questions, and test the projects live - that was a magical feeling β¨ Watching videos alone is the opposite of that
1
0
0
2) Regardless of whether you ditch the video submission the guidebook should highlight and mandate live reviews where people actually go to the tables and see what others have hacked together That way you get to properly experience the awesome solutions that people have built...
1
0
0
Additionally video submissions lead to a lot of fancy looking fake marketing videos which often have no real code behind them. We have seen this over and over again Videos turn Junction into a marketing competition instead of a hackathon The second important thing:
1
0
0
1) Ditch the 2min video from project submission Covid mandated having a video pitch but we are far beyond that and we should go back to live pitches/demos Having people watching videos like zombies without interacting with each other is fundamentally anti-hackathon...
1
0
0
Very disheartened to read the @hackJunction participation guidebook for this year's event π It seems like they have not listened to the feedback from past Junctions There are two things that should have been changed...
1
0
1
The biggest annoyance in iOS 26 has been that custom keyboards such as SwiftKey work super unreliably -crashes multiple times a day -app content gets hidden behind the keyboard all the time -there's unnecessary empty space above the keyboard
0
0
0
I wouldn't say the model is broken To me `useEffectEvent` is a sign of that React is finally loosening it's tight grip on its overly strict mindset when it comes to rules of hooks `useEffectEvent` should definitely have been part of the original set of hooks years ago
The docs on useEffectEvent are interesting. React bails on its own model with a special new hook. To me, itβs an admission that the model is broken. Time for something new.
0
0
1
E2E tests are the best and the worst thing at the same time π
0
0
1
This whole thread got me a bit sad. It feels like React is drifting more and more away from the needs and hopes of the community I do appreciate all the hard work that the React team has done but the attitude towards the community hasn't felt understanding in recent years
@vitormarkisdev @samselikoff @ryanflorence @BrooksLybrand Iβve spent a day giving multiple examples and demos. Not sure what isnβt clear. At this point I would recommend trying to build the experience batched transitions gives you in user land (in any library) and get back to me.
1
0
1
I have theory that banana flies can travel between the physical and the quantum realm. Whenever I try to slap one of those bad boys they teleport somewhere else
0
0
0
Pinging @jerelmiller and @phry as you have been super helpful before π
2
0
0
I expected preloaded queries to be inactive as the component itself has not been rendered. My current problem is that if many links are hovered and thus the query is preloaded many times then when a mutation causes a refetch for a query it cumulates into way too many refetches
1
0
0