EP06: Live-Coding a Fullstack Prototype: Editing Books and UI Improvement

Опубликовано: 05 Июль 2024
на канале: Dinghy Studio
34
2

Summary
In this episode, Nils and Judith continue building their virtual bookshelf application using React and SuperBase. They focus on fixing the issue with the add new book dialogue not closing when the form is submitted. They decide to remove the dialogue trigger component and handle the opening and closing of the dialogue manually using React useState. They also refactor the code to move the dialogue component into the add book component for better organization. They successfully fix the issue and are able to open and close the dialogue. They also discuss the possibility of using React Query to manage the state of the data and invalidate queries, but decide to keep the application simple for now. They discuss the need to update the state of the books in the app after adding a new book and consider implementing an optimistic UI approach. They plan to move the fetch books function out of the useEffect and call it again on some action, possibly triggered by the add book dialogue. In this conversation, Nils and Judith continue working on their CRUD application using Superbase. They focus on adding the functionality to delete books from the database. They also discuss the concept of prop drilling and the potential use of React Query for data fetching and updating. They plan to cover editing books and improving the UI in future episodes.

Chapters
00:00 Introduction and Recap
02:17 Fixing the Add New Book Dialogue
05:05 Refactoring and Organizing the Code
07:29 Handling the Opening and Closing of the Dialogue
09:26 Passing Props and Updating State
23:45 Considering an Optimistic UI Approach
25:38 Adding Delete Functionality
27:33 Discussing Prop Drilling and React Query
42:10 Next Steps: Editing Books and UI Improvement

📲 Keep in touch with Dinghy:

🔗 Subscribe to our YouTube:    / @dinghystudio  
🔗 Follow us on Instagram:   / dinghystudio  
🔗 Follow us on LinkedIn:   / dinghystudio  
🔗 Read our blog: https://www.dinghy.studio/blog/

About the author
---
Hi, I’m Nils, Co-Founder and Head of Interaction Design at Dinghy. With over 10 years of experience in designing and building websites, I’m passionate about creating great digital experiences. At Dinghy, we believe that exceptional UX comes from the synergy of branding, content strategy, design, and development, all working together seamlessly.

On this channel, I show you how to create outstanding user experiences for your customers through hands-on, easy-to-follow how-tos in wireframing, UI design, stakeholder management, usability testing, HTML, CSS, and frontend development.

Keywords

user experience, digital products, customer satisfaction, business profitability, user testing, research, product market fit, development costs, customer lifetime value, app store ratings, marketing spend, conversion rates, employee efficiency, product features


Смотрите видео EP06: Live-Coding a Fullstack Prototype: Editing Books and UI Improvement онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Dinghy Studio 05 Июль 2024, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 34 раз и оно понравилось 2 людям.