Video yükleniyor...

Video Yüklenemedi

Ana Sayfaya Dön

Let's build an email client with Next.js and Postgres ✉️ ✅ Navigate between routes in a column layout while maintaining scroll position (layouts support) ✅ Submit forms without JavaScript enabled (progressive enhancement) ✅ Navigate between routes extremely fast (prefetching and caching) ✅ Retain your UI position on reload (URL state)

197,036 görüntüleme • 2 yıl önce •via X (Twitter)

10 Yorum

Lee Robinson profil fotoğrafı
Lee Robinson2 yıl önce

Building this input with React Aria Components was 😍 h/t @devongovett

Lee Robinson profil fotoğrafı
Lee Robinson2 yıl önce

Keeping the scroll position was as easy as moving the component to the `layout`. This was much more difficult in the Pages Router, and now built into the App Router.

Lee Robinson profil fotoğrafı
Lee Robinson2 yıl önce

Here's the code if you wanna dig around. Includes the Postgres schema / seed data information.

Jacob profil fotoğrafı
Jacob2 yıl önce

Very cool! Curious how y'all are thinking about invalidating the router cache for more dynamic use cases like email apps, social, productivity tools, etc… Specifically my understanding: 1. Anytime a user navigates to a new page, the full route is cached in client for 30s (pretty long time for dynamic apps like email clients) 2. There doesn't seem to be a way to invalidate this cache from an action not invoked by the current user (for example a server event) 3. There is no way to opt out of the router cache all together or change the cache duration. Put another way (example): If a user clicks into a full screen email experience, and while they're viewing this email, they receive another email… When the user navigates back to their inbox (within 30s), it will be stale (wont show the new email bc of the router cache). In this case, should we be calling router.refresh() on every nav event? Seems mb heavy after the change to drop user's entire router cache on every refresh call. Maybe there's a better way to be thinking about it all together? Would love any guidance or examples! would love to figure out some sort of swr like experience with rsc here 😅

Alex Sidorenko profil fotoğrafı
Alex Sidorenko2 yıl önce

@nextjs Nice! Cool trick with command + enter submit. And easy to add as a generic option for textarea UI component. Especially with shadcn.

Abdulhamit Akaslan profil fotoğrafı
Abdulhamit Akaslan2 yıl önce

@nextjs Nice video but the zoom efect and mouse is very distracting on the video I think.

Julian profil fotoğrafı
Julian2 yıl önce

@nextjs @screenstudio I presume

Richard Poelderl profil fotoğrafı
Richard Poelderl2 yıl önce

@nextjs Love the cmd + enter keydown use case and the feature co location in the app dir

Michael Amore profil fotoğrafı
Michael Amore2 yıl önce

@nextjs Did you have a YouTube link?

Lee Robinson profil fotoğrafı
Lee Robinson2 yıl önce

@nextjs Here you go!

Benzer Videolar

How to Get Funded to Trade Crypto: HyroTrader Full Breakdown Are you ready to trade crypto with zero risk and full reward? Use my referral link for exclusive discounts: In this video, we break down everything you need to know about HyroTrader, one of the top crypto prop trading firms in 2025. Whether you're an aspiring day trader or a seasoned scalper, HyroTrader offers a revolutionary path to becoming a funded crypto trader—without putting your own capital at risk. 🚀 What You’ll Learn in This Review: ✅ What is HyroTrader & how it works ✅ The difference between the One-Step and Two-Step challenges ✅ How to trade on real markets like ByBit and Cleo ✅ Profit split explained (up to 90%) ✅ How to qualify for real funded accounts ✅ Stop-loss rules, risk management, and daily drawdown ✅ Evaluation process walkthrough ✅ How fast you can get paid in USDT/USDC ✅ Real reviews and Trustpilot score breakdown (4.5/5 ⭐️) Why Traders Choose HyroTrader: +No time limits on challenges +Real market data (not simulated prices) +12–48 hour payout processing +Use of bots & APIs (post-funding) +Trade 350+ assets on Binance via Cleo +Free refund of your entry fee after your first payout +24/5 expert support and a global community Start your funded trading journey today with HyroTrader #HyroTrader #CryptoPropFirm #GetFunded #ByBit #CryptoTrading2025 #TradingChallenge #CleoPlatform #CryptoFundedAccount #PropFirmReview #USDT #ByBitTrading #BecomeAFundedTrader #BestPropFirm2025

Decentralised News

16,181 görüntüleme • 10 ay önce

If you don't have an automated trading system, I can set one up for you in less than 3 days! Outperform the market with: - Higher Win Rates - Lightning Fast Execution - Fully Automated Trading System Schedule a call using the link below: Discover the future of trading with our AI-powered "smart bots" that can deliver an impressive win rate of up to 95%. Say goodbye to the tedious task of monitoring charts and wasting precious time. 🚀 Why Choose Us? ✅ Quantitatively Designed Trading Algortihms: Our algorithms are crafted with precision, ensuring robust performance and consistency. ✅ Engineered "Smart Bots": Experience lightning-fast trades with our state-of-the-art smart bots that adapt and learn. ✅ Fully Automated Trading System: Our system works around the clock, executing your trading strategies flawlessly, without the need for manual intervention. ✅ Powerfully Designed Algorithms: Our cutting-edge algorithms are the backbone of our trading systems, engineered to maximize your trading outcomes. ✅ Built-In Risk Management Strategies: Safeguard your investments with integrated risk management protocols designed to minimize losses and protect gains. ✅ Use #BTC as collateral to compound returns while HODLing, effectively earning a yield 🌟 Exclusive Benefits for Our Clients ✅ Tailored Solutions for Every Trader: Whether you’re a novice or a seasoned trader, our platform is designed to meet your specific trading needs and preferences. ✅ Supportive Community: Join our network of traders who share insights, strategies, and success stories. Build connections, make friends, and grow your trading knowledge. Schedule a call using the link below:

Minotaur Trading Systems

46,230 görüntüleme • 1 yıl önce

Transforming Mumbai’s Commute...🚇 Mumbai Metro Route 3, Phase 2-A : A new era of Seamless, World-Class Connectivity! Flagged off 'Phase 2A of Mumbai Metro 3 from BKC to Acharya Atre Chowk (9.77 km)' today at BKC, Mumbai today. Under Hon PM Narendra Modi Ji's leadership, the metro network across India—particularly in Maharashtra—is expanding rapidly. Metro Line 3, the country’s longest underground line, stands as an 'Engineering Marvel'. Launched in 2017, the project is nearing completion at remarkable speed. The final phase, from Acharya Atre Chowk to Cuffe Parade, is expected to open to the public this August, with an inauguration by the Hon PM Narendra Modi Ji. The newly inaugurated route includes 26 stations, each with multiple entry points. Notably, Metro Line 3 will link directly to the airport, allowing passengers to travel seamlessly by metro. Construction on other lines is progressing rapidly, with 50 km of new routes set to be added this year and next. Soon, commuters across the Mumbai Metropolitan Region (MMR) will be able to travel by metro, monorail, local train, and bus using a single integrated ticket. Mumbai Metro Route 3, Phase 2-A Highlights: ✅ Total stations: 6 (All underground) ✅ Route length: 9.77 km ✅ Headway: Every 6 minutes 20 seconds ✅Fares: ₹10 – ₹40 ✅Trains in service: 8 Top Features of the New Metro Line: ✅Fully air-conditioned trains and stations ✅Reserved coaches for women passengers ✅Advanced baggage scanning and passenger screening ✅Well-lit, secure stations and platforms ✅24x7 surveillance with CCTV and security staff ✅Seamless mobile connectivity across trains and stations ✅Accessible restrooms with baby diaper-changing facilities ✅Multilingual passenger guidance system ✅LCD screens for infotainment and ads ✅Dynamic digital route maps ✅Full wheelchair access for PwDs ✅Fire and smoke suppression systems in every coach ✅Emergency communication systems between passengers and control room Connectivity : ✅Seamless connectivity to major business hubs like BKC and Worli ✅Future integration of BKC station with Metro Line 2B and Bullet Train ✅Easy access to religious places like Siddhivinayak Temple, Mahim Dargah & Church ✅Direct metro access to popular entertainment hubs including Shivaji Park, Yashwant Natya Mandir, Ravindra Natya Mandir, and Plaza Cinema Mumbai’s other metro lines have been well received by the public. This project marks another key step in making the city’s transport faster, smarter, and more inclusive. Eknath Shinde - एकनाथ शिंदे Ashwini Bhide MumbaiMetro3 Maha Mumbai Metro Operation Corporation Ltd #Maharashtra #Mumbai #MumbaiMetro3

Devendra Fadnavis

33,579 görüntüleme • 1 yıl önce

CSS Tip! 🍬 You can create a CSS-only sticky CTA using position: sticky or scroll-driven animations 🤙 .cta { position: sticky; margin-top: 110vh; bottom: 2rem; /* 👈 Stick! */ } This is one way 👀 This first way relies on you setting a layout on the body and putting the CTA in a zero-space part of the layout body { display: grid; grid-template-columns: auto 0; } The children of the body are an element with your content and then the CTA. You could also use display:flex too. .content { flex: 1 0 100%; } .cta { place-self: end; } As you scroll the body, the CTA comes into view and sticks in position 🙌 That's one way. If you want to take it further and do something like flip between showing or not, maybe scale it up, or add some special easing, etc. an animation is another way 📜 First, change the styles for your CTA. Note the translate property that's powered by a custom property .cta { position: fixed; bottom: 2rem; right: 2rem; translate: 0 calc(20vh - (var(--show) * 20vh)); transition: translate 0.875s var(--elastic); } Next you need a custom property that you're going to animate @​property --show { inherits: true; initial-value: 0; syntax: ' '; } Lastly, you animate this value on the body. As the property value changes, the value will trickle down to the CTA @​supports (animation-timeline: scroll()) { body { animation: show-cta both steps(1); animation-timeline: scroll(root); animation-range: 0 10vh; } @​keyframes show-cta { to { --show: 1; } } } Using @​supports you can use this as a progressive enhancement. If scroll-driven animations are supported, use them. Otherwise fallback to using position: sticky 🤙 That's it! As always, any questions or requests, hit me up! 🙏 CodePen.IO link below! 👇

jhey ʕ•ᴥ•ʔ

133,020 görüntüleme • 2 yıl önce

🚀 Introducing Movevent: Built for the Community, by the Community! The Movement ecosystem is growing rapidly, and keeping up with AMAs, Discord games, NFT drops, and new projects can be overwhelming. Movevent is here to streamline events, enhance engagement, and connect the community like never before! 🔥 What We Offer: ✅ A Unified Event Calendar – Never miss an AMA, Twitter Space, or Discord game again. Organizers will coordinate their schedules to prevent overlaps! ✅ Custom User Profiles – Track your favorite events and games, build your personalized calendar, and stay updated. ✅ NFT & Project Hub – Explore Movement NFTs, check real-time floor prices, and discover new projects, all in one place. ✅ Comprehensive Project Directory – A dedicated section explaining every project in the Movement ecosystem, their mission, and how they contribute to the community. ✅ Direct Access to Official Links – Easily find and verify official websites, social media accounts, and key resources for all Movement projects, ensuring you always have the right information. ✅ IRL Events - Explore past and upcoming local meetups and events. Link for organizing your own events. ✅ Potassium Pass NFT – A soulbound NFT that unlocks exclusive events, special rewards, and VIP Q&A sessions with the Movement team (details coming soon). ✅ Innovation Hub – A dedicated space where community members can propose and vote on new ideas to shape the future of the ecosystem. 🎯 Why Movevent? 🔹 For Users – Easily discover and join events, track rewards, access key ecosystem updates, and find all official project links in one place. 🔹 For Projects – Gain visibility, avoid scheduling conflicts, and connect with a highly engaged community. 🔹 For the Ecosystem – More participation, better coordination, and stronger connections between projects and users. 🚀 Movevent is built for the community, by the community! With your support, we aim to launch a mobile app next, offering real-time event reminders and engagement reports. Join us as we build the future of Movement together! 🌍🔥

Movevent

23,469 görüntüleme • 1 yıl önce

Private transactions between wallets now possible on Solana using ZERAs Private Cash Addresses. A closer look at last week’s MVP drop: Private P2P. Most "privacy" on Solana still falls back to withdraw-to-address (recipient + metadata leaks) or multi-step send flows that leave trails. Our P2P is different: one atomic in-pool transaction, the sender’s note is nullified, and two new encrypted notes are created, all inside the vault. No stepping out. No re-deposit choreography. Why it’s so hard to deanonymize: ✅ Your Private Cash Address has zero link to your Solana wallet: it’s an X25519 keypair derived from a wallet signature, and the public key becomes your private address. ✅ Notes are encrypted with NaCl box using a fresh ephemeral key every send, meaning even two payments to the same person looks unrelated. ✅ Recipients discover incoming notes via trial decryption, the chain never learns "who owns what." While we have immense respect for those building privacy on Solana, we are proud to be the first to achieve one-shot, in-pool P2P with full privacy. To our knowledge, this remains an industry first. This is the difference between hiding balances inside a pool and moving value privately between people. Note: Right now, the sender’s wallet still signs the private transaction, so on-chain you can see that a wallet performed a P2P action, but the amount and recipient remain private. The upcoming P2P Relayer removes that footprint too, completing the "cash-style" flow with no on-chain sender trace. What’s coming next: ✅ More assets: At least SOL + ZERA alongside USDC. ✅ P2P Relayer: A decentralized signing/relaying network that can submit transactions for you — enabling withdrawals with minimal linkage after the initial deposit, and removing the sender’s on-chain P2P footprint. Try it out in the ZERA Dashboard below ⤵️

ZERA

36,381 görüntüleme • 4 ay önce

⚙️ Running & Scaling a Business? The SMBash Operator Track is for You! ⚙️ Buying a business is one thing—running it efficiently and growing it profitably is another. At SMBash 2025, the Operator Track is packed with real-world insights from experienced SMB leaders to help you navigate the challenges of running and optimizing your business. 🔥 Operator Track Highlights: ✅ HoldCos & Structuring for Long-Term Growth – Chase Murdock & Palmer Higgins share insights on holding company strategy. Chase Murdock ✅ The Role of a CEO – Chris Koerner on leadership, decision-making, and scaling your team. Chris Koerner ✅ KPIs & Performance Tracking – Kaustubh Deo breaks down the numbers that drive business success. Kaustubh Deo - Guesswork Investing ✅ Deals Gone Wrong – Denisse & Evelin Montenegro share the hard lessons from challenging acquisitions. Denisse Montenegro Evelin Montenegro ✅ The Intentional Owner LIVE - Kaustubh Deo & Sam Rosati take the stage with their brand new podcast. Come watch as they speak with business owners who have been in the trenches of the real work of running a small business! ✅ Jeff Driskel - takes the stage again. This year, with more experience under his belt, he will be joining as a panelist. Jeff Driskel ✅ Insurance Essentials – Josh & Andy break down how to protect your business the right way. Josh Richman Andy Harbut 💡 Not an operator yet? No problem! All attendees can join ANY session—whether you're running a business or still searching for one. 📅 April 2-4, Dallas, TX 🎟️ Tickets are selling fast—secure yours today by heading to our website!

SMBash

14,525 görüntüleme • 1 yıl önce

How to Trade Crypto Perpetuals on Grvt | Step-by-Step Tutorial 📲 Get Started Now: 🔗 🎯 Complete your KYC to unlock your welcome rewards 👥 Invite friends to earn even more through the GRVT Reward Portal 📅 Get ready for options, spot, and mobile app trading coming soon! In this hands-on tutorial, we walk you through exactly how to trade crypto perpetual contracts on GRVT, one of the most advanced hybrid exchanges in the market. You’ll learn everything from creating an account to executing your first leveraged trade — all while staying 100% in control of your funds. Whether you're a seasoned trader or just getting started, GRVT's Web2-friendly UX and Web3 security model makes trading seamless, self-custodial, and safe. 🧭 What You’ll Learn in This Tutorial: ✅ How to create your GRVT account and complete KYC ✅ Setting up the GRVT Wallet or connecting MetaMask ✅ Depositing USDT via Ethereum, Arbitrum, or on-ramp ✅ Navigating the Perpetuals dashboard ✅ Setting leverage, margin mode - isolated vs cross ✅ Placing long or short trades with live order book ✅ Monitoring your open position, PNL, and liquidation levels ✅ Withdrawing profits safely via smart contract-secured flows ✅ BONUS: How to earn GRVT points while you trade 💼 Why Grvt ? 🔐 Full self-custody — GRVT never holds your keys ⚡ Off-chain matching + on-chain settlement with zkSync 📉 Gasless trades with 10ms latency 📊 Advanced margin engine and role-based access 🎁 ZK tokens when you complete KYC 📈 $3.2B+ in liquidity at mainnet backed by top market makers DISCLAIMER: The content on our site is for informational purposes only. Readers, viewers and listeners should not construe any such information or other material as legal, tax, investment, financial, or other advice. Nothing contained on our site constitutes a solicitation, recommendation, endorsement, or offer by Decentralised News to buy or sell any securities or other financial instruments in any jurisdiction in which such solicitation or offer would be unlawful under the laws of such jurisdiction. #GRVT #PerpetualTrading #CryptoTutorial #DeFi #HowToTrade #CryptoPerps #HybridExchange #zkSync #Web3Wallet #OPUSDT #CryptoLeverage #Crypto2025 #SelfCustody #NotFinancialAdvice #DecentralisedNews #Blockchain #Metaverse #PlaytoEarn #CryptoInvestments #Bitcoin #BuyBitcoin #TokenizedAssets #DecentralisedFinance #Crypto #DigitalAssets #EarnCrypto #EarnBitcoin #Cryptocurrencies #DeFi #CryptoWallets #YieldFarming #Stocks #TokenizedStocks #CryptoNews #BitcoinNews #BestCryptoEducationChannel #CryptoEducation

Decentralised News

27,152 görüntüleme • 1 yıl önce