Bölümler
-
I just finished Expensive Calculations in React Performance. Why do we need a Web Worker instead of just wrapping the long-running function in a Promise that resolves when the function completes?
Expensive Calculations - Epic React Performance WorkshopWhen is a Promise not good enough, and I need a Web Worker? -
In 2022 you migrated a blog from postgres to LiteFS. Is that generally recommended in 2025?
How Useful is LiteFS in 2025? -
Eksik bölüm mü var?
-
What do you think about resumability and Qwik? About 9 months ago, there was talk about Wiz and Angular working more closely together (Wiz was the tool that inspired Qwik). But Angular only committed to working on partial hydration support, not the full resumability like Qwik. So do you think React developers should care about this? If so, should they use partial hydration tools like Astro today or wait for something like resumability to be added to React?
𝕏 PostWhat are your thoughts about Qwik and hydration? -
I would like to know how you get motivated knowing that you have dependents and stay strong in the event of layoff.How do you handle the fear of AI taking over job?
My original postJyoti's responseP.S. I didn't really mention much about AI so feel free to ask a follow-up on this for a more specific answer, but I would say that AI is just an important tool we need to learn and keep using the best tools to get the best benefits. Check out this Epic Programming Principle: Adapt to and adopt productive tools
Dependent driven motivation and embracing AI -
In 2024, we live in a world where the defacto for creating React applications is SSR (e.g. Remix, react router v7, Next, TanStack). Coupled with the rise in performance, reliability and reduction of cost in running e2e tests by playwright and now vitest's Browser Mode, is it time to consider reworking the Testing Trophy to make e2e tests the largest proportion of the trophy?
This is starting to make more and more sense to me as e2e tests are becoming as cheap to execute as integration tests, whilst integration tests are more complex to write in a SSR application without mocking client side or server side code.
The Testing Trophy and Testing ClassificationsVitest Browser Mode@epic-web/app-launcherDoes the testing trophy need updating for 2025? -
I’m curious about your thoughts on balancing conventions in large codebases. For context, I’m working in a project with ~20 developers across four separate teams. Where do you think we should draw the line between enforcing conventions for consistency and leaving room for flexibility in individual contributions?
EpicWeb configBalancing Conventions and Flexibility in Large Codebases -
I build UI and UX for a company using React. What should I do next? How do I get to the senior level?
Stop Being a JuniorGo down to level upEpicReact.devBuild React HooksI'm a React dev... What now? -
While using the defer utility on a loader, the result useLoaderData hook on the component, does not have proper types any more, and im looking a effective way to keep my types chilling
How to keep Type-Safety when defering data from a Remix loader -
What are good examples of open source projects implementing extensive automated testing strategy for frontend?
Epic StackSkill Recordings ProductsTestingJavaScript.comTesting Fundamentals WorkshopWeb Application Testing WorkshopGood open source projects implementing frontend testing strategy -
When we have to learn GraphQL? Is it worth to learn it or REST APIs are enough?
Should I learn GraphQL or just stick with REST? -
Hi, Kent, my name is Alex. On one hand, you advocate for implementing Progressive Enhancement technique for applications. On the other hand, even in Epic Stack, the use of custom React components is justified, even for a simple checkbox, which essentially makes the application non-functional without JavaScript. So, I'm struggling to decide whether it's worth trying to develop a Progressive Enhancement UX at this time or if it's still an unattainable ideal.
Kent Dodds - Bringing Back Progressive Enhancement - RenderATL 2022React Components vs Progressive Enhancement -
My coworker were in an argument about where test cleanup should go (afterEach, or in the test?), and I thought you might have some great insights!
Avoid Nesting when you're TestingAHA TestingTest Cleanup: in the test or in afterEach -
simple question on time commitments to coding.
How many hours do you spend coding?
-
My Remix Vite App Has Slow Initial Requests that takes up to 10 minutes loading the page then it will serve pages faster after that event if change devices
console.time and console.timeEndpatch-packageRemix Vite In Production
-
Hi Kent,
My name is Mahdi Nazari, and I've admired your work for the past year. Your website has been a wellspring of inspiration, particularly your unique lifestyle and the impactful way you're shaping the world. To sum up, I really love it.
As a graduate Geographic Information Systems (GIS) graduate student, I've had the pleasure of utilizing your JS libraries in my projects. They've proven to be invaluable tools.
Currently, I'm embarking on a journey to build my brand, a platform to share my mission, passions, and more. Your approach resonates deeply with me – it offers a compelling way to communicate my values and ignite a spark in others.
If you were starting your brand from scratch today, what pearls of wisdom would you offer someone embarking on a similar path? Is there any course or book or someone who can help me in this path?
Any insights you could provide would be immensely valuable.
Thank you for your time and for the constant inspiration you provide,
Mahdi Nazari
Kent's Appearances2010s Decade in ReviewTribes: We Need You to Lead Us by Seth GodinInspired by Your Work
-
Should one consider CSP at the very early stage of starting a new website or under what conditions should one consider implementing CSP.
CSP on MDNContent-Security-Policy-Report-OnlyWhen to add a CSP (Content Security Policy) -
Hey Kent! I've been thinking about something lately. I've worked at a number of different sass companies and something that is always an interesting problem is how we end-to-end test a software application that has a UI.
I love the idea of testing for confidence and, to that end, I've been wondering how we might begin to shift our thinking about confidence testing when we use some communication protocol, like GRPc or OpenAPI to and use those protocols to generate things like static types.
If a backend and frontend are both very well integration tested and the both use auto-generated types from the same spec file, how much e2e testing do we really need? It seems like the spec file would help bridge that confidence gap a lot for us.
I worked at a relatively large sass company once and we had about 300 e2e tests that ran on every PR. It took way too long, but we had a very high level of confidence when we shipped code. We had integration tests too, but I wonder as I reflect on that experience, should we have focused way more on integration tests and integration testing larger features of the software knowing that we had type safety from the communication protocols we used.
Really hoping to hear back from you! I respect your thoughts on testing a lot and I'm a long time consumer of your open source libraries and ideas.
Do generated types from OpenAPI spec change testing? -
Hello Kent, here is a transcription of my message, if you did not catch something. Thanks! I have a component that im importing in a dashboard folder in an index.js file. I'm using fetcher.form to submit a form with the Post method. the request is succesful, but when I click on sumbit, this reloads all of the requests of my loaders from different components that are being rendered in the dashboard folder. how can I avoid the reload of unrelated loaders in the same folder (dashboard)?
shouldRevalidateUnwanted loader reloading using fetcher.form in shared folder.
-
How to develop component library which can easily adapt multiple design languages
Mux Player: Customize the look and feelReact AriaReact SpectrumDesign the React component library
-
Seeking advice on optimizing website hosting for SEO with Remix.
Search Engine Optimization on EpicWeb.devHow I built a modern website in 2021I Migrated from a Postgres Cluster to Distributed SQLite with LiteFSFly.ioPartyKit - Daha fazla göster