February 2022 Summaries
4 posts from Ionic
Filter
Month:
Year:
Post Summaries
Back to Blog
The tutorial by Anthony Giuliano provides a comprehensive guide to building drag-and-drop components using Stencil and the Sortable JS library, focusing on creating a Kanban board as a practical application. It begins by outlining the structure of the components, such as the drag-and-drop container and draggable items, and explains how to implement the drag-and-drop logic using Sortable JS to simplify the development process. The tutorial highlights the importance of the shadow DOM and provides solutions for manipulating DOM nodes through the use of scoped styling, enabling flexibility in the drag-and-drop functionality. Additionally, it demonstrates how to enable element sharing between containers using the group property and enhance the user experience with styling options like ghostClass. The tutorial encourages further exploration of Stencil and Sortable to build more complex and interactive web experiences.
Feb 24, 2022
1,560 words in the original blog post.
Ionic's version 6.0.0 introduces a revamped Datetime component, addressing user feedback and aligning with iOS and Material design guidelines. Unlike its predecessor in v5, which required interaction through an overlay, the new Datetime component can now be displayed inline, offering a more modern and flexible user interface similar to iOS’s calendar app. This update allows for better customization through properties such as the new presentation property, which replaces the older displayFormat property, enabling developers to specify exactly what to display, whether it's a date, time, or a combination. Additionally, the component can be rendered in overlays like modals and popovers for improved user experience, and it's compatible with Angular, React, Vue, and vanilla JavaScript. This overhaul aims to enhance performance and user interaction, especially on lower-end devices, by eliminating the need for JavaScript scrolling, while also providing a more intuitive and visually appealing design.
Feb 22, 2022
1,012 words in the original blog post.
Ionic 6 introduces new features and component redesigns aimed at enhancing the popular open-source framework for building mobile and desktop applications, as showcased during a YouTube stream led by Lead Framework Engineer Liam DeBeasi. The session also provided guidance on upgrading apps built with Vue, React, and Angular from version 5 to version 6, emphasizing a straightforward transition by installing new packages and making minimal codebase adjustments. The overarching goal of each major release, including Ionic 6, is to streamline the upgrade process for developers. For those who missed the live stream, a recap is available, and the Ionic team encourages developers to subscribe to their newsletter for the latest updates.
Feb 17, 2022
221 words in the original blog post.
Mike Hartington, an experienced Angular developer, explores the Svelte framework while building a new app with Capacitor, comparing it to his preferred Angular framework. He notes that while Angular provides a comprehensive CLI for app development, Svelte offers a more minimal starter template with Rollup configuration, allowing for greater customization but requiring more manual setup. Hartington highlights the differences in syntax and semantics between the two, noting that Svelte's block syntax for dynamic content is straightforward once understood. He contrasts Angular's component structure, which uses decorators and separate files for templates, styles, and logic, with Svelte's single-file component pattern, which he finds appealing for its simplicity and ease of use. Though he remains undecided about single-file components, Hartington appreciates Svelte's straightforward component composition, which involves importing and using components directly by file name. Through this exploration, Hartington acknowledges Svelte's unique features and potential advantages for certain projects, indicating a willingness to continue learning and sharing insights on this topic.
Feb 02, 2022
1,152 words in the original blog post.