Demystifying: Server Actions 😱🔥
If you are working with
@nextjs
or reactjs
"Server Actions" is something you have heard of every now and then.
But what are Server Actions?
-> Async JS Function that runs on the server.
-> Allow Devs to execute server-side code without
🔔$15 Bounty Alert🔔
Hey everyone we are back with another banger bounty🤑💰
This is going to be one of the biggest bounty’s ever dropped
Task 👇⤵️
Create a clone of
@getqid
website with
@react
/
@nextjs
(Link in thread 🧵)
🤑 First Prize: $15
🤩 Top 3 get certificates
⌛️
While going through my javascript, I came across this page which helped me
Grow so much.🚀✨
When i joined my first company, I was not aware of
• What react is ?
• What javascript is?
• How it works?
Just knew cpp because i only solved DSA problems till my 7th semester😂
Definitely agree with these points by
@kirat_tw
, especially staying motivated!
Working remotely can be burdensome sometimes especially when you are at the start of your career!
For me it is watching my seniors code!🔥🔥
Find your motivation!! And the stonks will 📈📈
@akshaymarch7
For sure!
They would’ve focused more on development skills or the machine coding round
Which will actually help them to improve their skills just in case the interview is not cleared!
Or there must some sort of called list of problems which includes DSA questions which are
#ClassOf24
✍🏻👾
Get ready to enroll to
@dominateXclub
‘s very first cohort🤩😄
Get Placement ready by diving deep into 🧳🔥
Twitter masterclass📈
DSA preparation ✍🏻
Resume building 📝
Managerial round preparation 🎙️Providing valuble referrals(Startup - Big tech)🏢
Community
Best roadmap for learning
#java
Why this
#roadmap
??
I come from a front-end
#react
(js) background and after following the below roadmap i was able to start working as a full-stack
#developer
in my company.
Hope it helps you too :-)
If you need any resources, then let me know
Hey
@dominateXclub
,
I need your help😅🫰
From tomorrow, we are going to host spaces every day from 8 pm - 9 pm.✅
I have made a high-level plan for the topics we will be discussing. In these spaces, everyone from Twitter is welcome to join.
Please share your opinions about
What a super productive week🔥🔥
Learned, Built, and delivered a lot of things which I can be proud of✅
◆ Learned
@supabase
◆ Build a huge form (vid) with
@shadcn
and RHF
◆ Led my team in the production of an internal tool containing multiple microservices
◆ Production
Work like you own it, like the CEO🙌⚡️
This is engineering.
I was asked why are you doing so much, even if they are not paying you enough
People like
@arpit_bhayani
motivates me to keep doing more and more.
I love my work and i want to deliver the best.
Atleast my best🤌🏻
You are not hired to just ship features ... ⚡
but rather ship features that matter. All great engineers I know understand the worth of their work and the business impact it brings; this way they prioritize the tasks that matter.
Do not be a transactional engineer - given a
#Day1
of 30 days POTD challenge 🏆🏆
✅ Easy • Strings • 2 Pointers
Used a pointer to traverse
when elements found
Reversed from
words.begin() to words.begin() + i
I think this week’s going to be a strings weeks, what do you think
@vaishnavi0199
? ?
What was your
Hi everyone🙋
From today let’s start
#30daysofleetcode
challenge 🤼
We will solve the leetcode PoTD for May 2024 every single day, ⚡️⚡️
And win that May Badge.
I will tweet my approach for leetcode PoTD problems..🤩⌛️
Join me
@vaishnavi0199
and
@dominateXclub
In this
Announcing $100 Bounty 🔥🤑
@dominateXclub
‘s biggest bounty
For our sponsers🤝📑
Up for grabs just by
Working on
@nextjs
Join us in further discussions ⚡️⚡️
From 7-9 pm IST
- How to participate ✅
- where to submit ✅
- selection criteria ✅
And what not🐣🙌
Last bounty
Dominatexclub X Squads🚀🔥
🡆 If you are a member of
@dominateXclub
you must be wondering what are squads and how they function.
🡆 Well here's your cue to join our club👇🚀🧵
🡆 This thread will contain an explanation for: ✨
✅ What are squads?
✅ What is OSS Squad?
✅ The
Just Another day with one more rejection after 3 rounds! 🥲
Comeback soon ⚡️👊
PS - If anyone is hiring a full stack developer with
React(primary) + Java (backend) hit me up 🙌🚀
#interviews
#tech
#hiring
Long day today, got a lot to do in my list.⚡️
What's your plan?⌛️👇
📑 Resume Building
🚀 Complete PoTD challenge d2
💻 Deep dive into
@supabase
and reactjs
🤙 Ask for referrals
🧵 Create thread on javascript
✍🏻 Blog post on 1st API in spring-boot
🤩 Office work
The RUSH is
If you want to understand the use of data structures and why it is important.
Understand how Operating System / kernel works.
You will get the answer. You will appreciate how amazing they are.
Source : linkedin
@kartikeyacodes
Agreed!
Competition is at peek.
Peer pressure is at peak.
And here i am not able to solve more than 2 questions in leetcode wherease my juniors becoming KNIGHT.
🔑😶🌫️
Hey Devs, need some quick help😵😵
What is the best way to structure component structure
@nextjs
14?👇
1. Using child components inside the route
2. Using child component inside separate components folder outside of app directory
#opensource
#buildinpublic
Signs of a good week start ✨
morning all😌🚀
What are your plans for this week?
I will be occupied with -
• Javascript interview preparation
• POTD Challenge on leetcode
• Write content for twitter
• Explore
@supabase
views and
@nextjs
• Twitter spaces for
Hi everyone🙋
From today let’s start
#30daysofleetcode
challenge 🤼
We will solve the leetcode PoTD for May 2024 every single day, ⚡️⚡️
And win that May Badge.
I will tweet my approach for leetcode PoTD problems..🤩⌛️
Join me
@vaishnavi0199
and
@dominateXclub
In this
Thanks
@dominateXclub
for sponsoring two months of twitter primium.🤩
Special thanks to
@umunBeing
for giving us this opportunity of being a mentor at this community.🙌
Truly grateful for
#DominateTwitter
community 🙌😌
Mistakes I did while making a PR
I just spent the last 3 hours merging the master branch into my current branch so that I can make a PR.
PS: thanks a tonne
@codewithbhargav
for helping me out debugging this issue 🙏🫂
Context:
I am not used to working in a Pull request setup.
Now i am a full stack developer🚀💯
My primary languages are:
Typescript 🫰
Javascript 👣
Java 👇
Recently started Java over the last few months, and i have to say there is noting more beautiful than java in this world.
Specifically Spring Boot
✅ Amazing Typesafety you
#Day11
of POTD leetcode
This one was a hard problem
and after trying , i had to watch tutorial help.
@vaishnavi0199
Approach was pretty clear ,
Select one worker, calculate his ratio and use the same ration to find the total payable amount.
if the payable amount is >
#Day10
on POTD Leetcode.
Medium question
Tried brute force and it worked ->
-> Get all the fractions which are valid
-> put them into a min heap
->remove k-1 elements and kth element is the answer.
what's you r approach
@vaishnavi0199
?
#Day3
of 30 days POTD challenge ⚡️
✅ Medium • Strings • 2 pointers
Used while loops to iterate through and compare the strings🔥😎
Note - We should never try to solve DSA for later in the day,
Otherwise you can miss it,
#advice
of the day🥲
What’s your approach?
#Day2
of 30 days POTD challenge 🏆🏆
What is your approach?
✅ Easy • Strings • 2 Pointers
After sorting used 2 pointers and compared till found any results, otherwise return -1.
For tomorrow we will se medium questions ,
@vaishnavi0199
be prepared!🙌🤩
#Leetcode
#DSA
Now the time has come to work on something i have been pushing so far over the years
Using multiple
@github
accounts in a single system🥲😭
I haven’t started but 3 years ago i hated the setup.
Any tips on how to set it up on github desktop?
#github
#opensource
#buildinpublic
Gained more than 100 followers in 2 days🤩⚡️
But how ? 🧐
😌 Helped others
🙌 Provided values
✨Gave genuine feedback
Big thanks goes to my community
@dominateXclub
members ✅🤌🏻
#buildinpublic
#DominateTwitter
Thanks
@dominateXclub
for sponsoring two months of twitter primium.🤩
Special thanks to
@umunBeing
for giving us this opportunity of being a mentor at this community.🙌
Truly grateful for
#DominateTwitter
community 🙌😌
#Day2
of 30 days POTD challenge 🏆🏆
What is your approach?
✅ Easy • Strings • 2 Pointers
After sorting used 2 pointers and compared till found any results, otherwise return -1.
For tomorrow we will se medium questions ,
@vaishnavi0199
be prepared!🙌🤩
#Leetcode
#DSA
#Day1
of 30 days POTD challenge 🏆🏆
✅ Easy • Strings • 2 Pointers
Used a pointer to traverse
when elements found
Reversed from
words.begin() to words.begin() + i
I think this week’s going to be a strings weeks, what do you think
@vaishnavi0199
? ?
What was your
Got super motivated by🔥🔥
Listening to
@vjsinsights
‘s journey in
@ankushdharkar
‘s space🐣😌
VJ shared how important networking is🤝✨
How he got multiple opportunities because of networking ⚡️
These people are truly inspiring and because of them many people like me started
Goals for this weekend✅🏁
👨💻 Buildup multithreaded proxy server
🚀 Design layout for
@dominateXclub
🫡Ask for referral
📈Participate contest and up-solve
#buildinpublic
Power of community ⚡️⚡️
@dominateXclub
🫳
When I started this space i had
*180 followers*
Number of people who joined are 190 in total.👾
By the end of space i gained more than 25 followers in-total 205🔥📈
Had an amazing time talking to all of you🙌🤩
Lets
#DominateTwitter
Heavenly morning 🤝🐣
What are your plans for the day?
✅ Other than work, i have to
- Work on
@nextjs
and
@supabase
- React interview preparation
-
#POTD
challenge with
@vaishnavi0199
- Review and merge PR’s for
@dominateXclub
- Few client errands 🔥
Also y’all can
#Day12
of POTD Leetcode
used Bit manipulation
Quite interesting problem,
at first i thought we need to maximize the digit "1" count,
then i realised we need to check for the Most Significant contributing bits.
Bit manipulation, again a topic i have not practiced much on!
But
@getqid
is India’s first
‘Zero Knowledge Proof’
Identity sharing platform.
They are official sponsors of
@dominateXclub
⚡️Participating in this bounty
opens up gates to
internships and jobs ⚡️🙌
with Team Qid.
The event will be judged by
@FirstHumanManu
,
What was i doing this weekend??🚀👋
Building the Tic-Tac-Toe👣
Why? 🔥✅
Sometimes it is good to brush up your basic skills
This my weekend looks like, working on React machine coding problems
I was really curious to know the logic behind building the winning patterns
#Day11
of POTD leetcode
This one was a hard problem
and after trying , i had to watch tutorial help.
@vaishnavi0199
Approach was pretty clear ,
Select one worker, calculate his ratio and use the same ration to find the total payable amount.
if the payable amount is >
If you have these two skills,
You know you are gonna become
A Successful Engineer✅
1. Problem solving skills
2. Ability to constantly learn
Problem solving is what engineers do every single day. ✍🏻
And i am not talking about coding!🤫
On a regular day as an engineer, more
#Day4
of 30 days of leetcode DSA challenge ⚡️ 📷
For today's problem, leetcode gave medium, bit it was easy
just check if the heaviest person is able to come with lightest person
if yes then count++; this means
heaviest person +lightest person <= limit
But when they are
#Day3
of 30 days POTD challenge ⚡️
✅ Medium • Strings • 2 pointers
Used while loops to iterate through and compare the strings🔥😎
Note - We should never try to solve DSA for later in the day,
Otherwise you can miss it,
#advice
of the day🥲
What’s your approach?
#day5
of 30 days POTD,
and just 2 lines of code😂😂
should've done this in the morning only 🫤
what do you think of this problem, has been asked by
@google
#dsa
#DominateTwitter
#Day4
of 30 days of leetcode DSA challenge ⚡️ 📷
For today's problem, leetcode gave medium, bit it was easy
just check if the heaviest person is able to come with lightest person
if yes then count++; this means
heaviest person +lightest person <= limit
But when they are
🎙️🎤 Ready to Elevate Your Personal Brand?
Join this amazing space with
@createsyash
to know more, and understand what, when and why of personal branding🚀
We will uncover topics such as:
🔹 What is Branding?
💼 Why It Matters?
🔄 Old Way vs New Way
⏳ When to Start
Let me show you one neat trick i learned , while working with react query,⚡️⚡️
I came across a very useful trick that
@tan_stack
react-query uses✍🏻🧵
Here useQuery() method provides a bunch of methods out of which one is
*refetchOnWindowFocus* : which is true by default.✅✅
Do you think adding a custom scrollbar gives a good user experience with smooth scroll??
Trying making one with framer-motion, end up building
@dominateXclub
's draft01😅
Let me know your thoughts?👇👇
Live Preview(Not mobile responsive) -
#Day10
on POTD Leetcode.
Medium question
Tried brute force and it worked ->
-> Get all the fractions which are valid
-> put them into a min heap
->remove k-1 elements and kth element is the answer.
what's you r approach
@vaishnavi0199
?
#day9
of May POTD Challenge
@LeetCode
,
you sure this is medium question.
After sorting started iterating from last element and just removed no of K's used from each number!
as simple as it looks likes.
@dominateXclub
and
@vaishnavi0199
were you able to solve this question
🎵 I made a web app to build a playlist for programmers. Suggest songs, vote, and the most-voted tracks will make the playlist. Help create the ultimate Spotify playlist for coding!
Special thanks to
@heyshishu
and
@whyrohitwhy
#Spotify
#buildinpublic
I think i have got, one of the best manager ever.🔥🚀
In the morning scrum i told him i am not feeling well.
Guess what he did??
Being almost 15 years older than me he suggested some youtube videos and few home remedies🥹😂
Just like my mum🙌🫰🏻
Now how cool is that🫶🏻😌
Hi everyone,
To all those who are participating🙌🙏🏻
Kindly add the below details in your thread or new thread before tomorrow 10 am IST
Deployed link 🔗
Github link ⚙️
Demo video 🤝
We will announce the winners in the space tomorrow between 7pm to 9pm IST.⚡️✨🚀
Thanks for
⚡️Announcing Daily DSA bounty ⚡️
Are we going to announce bounty
For daily DSA challenge!!
Get to know more about
•
@dominateXclub
✅
• DSA✅
• Leetcode ✅
Join us now at 7-9 pm
Everyday 🔥🔥
‼️ $5 Bounty Alert ‼️
Create a brand template kit📦
Which has ready to use posters for
#ClassOf24
Cohort 🍃✨
These posters contains :-
🙋 Invites for enrolling
😎 Panel of mentors
🎭 Special guests and events
🤝 People selected for GD on spaces
⚡️ Members selected
What an amazing contributor this guy is.
I have been trying to mentor some peeps and it is super hard to make them understand the standards of the codebase.
We want more people who can just by looking at the codebase learn themselves using google and AI chatbots.
Writing code
I've been working with a 19 year old frontend dev who approached me to tag him along for a gig,
and boy are these kids CRACKED AF.
This dude has such a deep understanding of what he's working with, spends time setting up linting and writing concise docs, has created a bunch of
@sarahcobss
I believe both has its own challenges.
Frontend isnt just changing colours and centring the div, it gets more complex with user interaction like live collaboration, group video calls, or maybe with the mind blowing animations which lands you users!!
How to get this checked line effect without using Javascript?⚡️⚡️
Yes you heard that right , without javascript.👇👇
Creators of
@tailwindcss
made us so easy to use styles at group and peer level.✨✨
use ‘peer’ for classname for checkbox input
And for texts 👐🏻
use
Javascript is a not a weird language, it just works in a different way.
Some tasks which are dependent on the browser or external engine like setTimeout
JS uses callback queue for those.
And resolved promises are handled in microtask queue.
Microtask queue is given priority
@whyrohitwhy
@dominateXclub
resolved promises are handled by microtask queues while callbacks in set time out are handled by callback queue. event loop gives priority to microtask queues first to clear up then callbacks in call back queue gets executed.
@singhthakrn
Haha
Facing this issue for the last 2 years.
And it is worst for people like me who want to see and meet new people.🥲
But at the start of this year i decided to change it.💯😃
Joined
@dominateXclub
Building community
Hopefully by the mid 2024 going to host an offline event
@drummatick
It is basic only but i am happy that i left this field to contribute more in software side ,
Used to make farre to pass my engineering exams 😂
Why is it so hard to work with
@nextjs
server actions and
@supabase
??🥲
Spend whole night setting up supabase with nextjs, still i am not sure why different server actions for different routes?
Did
@vercel
overdid by introducing “server actions” ?
#buildinpublic
After months of building FeaturesVote, a lot of long nights, early mornings...
Everything I've done so far has led me to this - my first Product Hunt launch 🥹
I'm just an unknown Solo Maker, so I'll be asking you a HUGE HUGE FAVOR 🙏🏽
Please help me SMASH that upvote button,
#Day7
POTD leetcode✅
My initial approach was to
1. Reverse the linkedlist.
2. Get the carry using Mod.
3. Again reverse to original
But this approach was using O(N) space.
Next approach was to use two pointers to track the prev node and i carry found on double the