May 2022 Summaries
4 posts from Retool
Filter
Month:
Year:
Post Summaries
Back to Blog
This article, authored with the help of Marie Starck, provides a comprehensive guide on building a customizable slider in React using the react-slider library, an open-source component developed by Zillow in 2021. The guide includes step-by-step instructions on setting up a React project, installing the react-slider library, and rendering the default slider component. It explains the anatomy of a slider, detailing how to customize its components such as the track, thumb, and marks using CSS and React props. The article emphasizes the flexibility and customizability of react-slider, likening it to a lower-level framework similar to d3, which requires user-defined styling for visibility and functionality. By demonstrating how to implement features like dynamic marks and interactive thumbs, the guide ensures that the reader can create a fully functional and aesthetically pleasing slider. Additionally, it offers a link to a GitHub repository for those who want to view or follow along with the completed project.
May 22, 2022
1,753 words in the original blog post.
Vue components are versatile elements in web development, created using JavaScript objects, HTML-like syntax, and optional styling, with the ability to receive data from other components via props. The guide explores various types of Vue components, including class components that employ object-oriented programming concepts using the vue-class-component library, and dynamic components that enhance reusability and speed by rendering based on conditions. It also delves into single-file components, which encapsulate structure, logic, and style in one file for single-page applications, and functional components, which are stateless and efficient for presentational UIs. Additionally, the text discusses table components that render data in tabular form, often utilizing libraries like Bootstrap for enhanced functionality. The overall emphasis is on how these components can be effectively utilized in different scenarios to create modular, efficient, and maintainable web applications, with examples provided to illustrate their implementation and use cases.
May 12, 2022
1,579 words in the original blog post.
Retool has introduced a new branch-based editing workflow called Source Control, compatible with git, to enhance collaboration and scalability for software teams building applications within Retool. This integration allows developers to use familiar version control practices, such as branching, pull requests, and code reviews, directly within their Retool projects, without affecting live applications. It supports seamless editing and deployment across multiple environments, ensuring that changes can be made safely and efficiently, with the ability to sync instances and manage configurations. This development is particularly beneficial for large Retool customers like Brex, Vimeo, and Axle Payments, who require robust version control to deploy applications and updates confidently. Retool plans to expand Source Control capabilities to include other components like resources and queries, and is working on integrating with more SCM providers such as AWS CodeCommit and Bitbucket, while also exploring testing features to enhance CI workflows.
May 11, 2022
980 words in the original blog post.
The text provides a comprehensive tutorial on utilizing MongoDB with Node.js, focusing on connecting to MongoDB Atlas, installing necessary drivers, and executing various database operations such as querying, inserting, updating, and deleting documents. It begins with the installation of MongoDB's Node.js driver and details the configuration process, including creating database users, whitelisting IP addresses, and obtaining a connection URI. The tutorial then dives into data retrieval using methods like `findOne()` and `find()`, explaining the use of queries, cursors, projections, and sorting to manipulate data output. Moreover, it covers data insertion with `insertOne()` and `insertMany()`, as well as document updates using `updateOne()` and `updateMany()`, emphasizing the use of operators like `$set`, `$unset`, and `$inc`. Advanced topics such as handling arrays, performing text searches, and executing bulk operations with `bulkWrite()` are also discussed, along with the importance of performance optimization. The text concludes by touching on the concept of transactions in MongoDB and the integration of source control using Git for version management.
May 06, 2022
3,163 words in the original blog post.