Home / Companies / Ionic / Blog / April 2019

April 2019 Summaries

9 posts from Ionic

Filter
Month: Year:
Post Summaries Back to Blog
React Hooks, introduced in React v16.8, significantly enhance the capabilities of functional components by allowing them to manage state and utilize React features like context without the complexity of class-based components. Ionic React, which supports React Hooks, simplifies app development by making common tasks and accessing native APIs straightforward and efficient. Hooks such as useState and useEffect enable functional components to manage state and perform side-effects like API requests, respectively. The useContext hook facilitates global state management, reducing the need for complex external solutions like Redux. Custom hooks further extend functionality by allowing reusable logic, such as accessing geolocation data or interacting with native device features through Ionic's Capacitor. An example Ionic React app, Puppers, demonstrates how hooks can streamline state management and API interaction, showcasing the power and simplicity of using React Hooks in app development.
Apr 30, 2019 3,258 words in the original blog post.
The second part of the Full-stack TypeScript with Ionic and NestJS series delves into enhancing the backend of the GoSpaceRanger app by incorporating a database to store mission data, using TypeORM to manage database interactions. TypeORM, an object-relational mapper written in TypeScript, facilitates the creation and management of database tables and columns based on TypeScript classes. The tutorial demonstrates setting up TypeORM with PostgreSQL, creating a Mission entity with decorators for database schema generation, and employing a repository pattern for data manipulation. Additionally, it introduces the use of class-transformer for data serialization and NestJS features like interceptors and pipes to streamline data handling and maintain clean, reusable code. The updated backend now supports live data retrieval, excluding unnecessary metadata from responses, and allows fetching individual missions by ID with type conversion handled automatically by custom pipes. The series promises to further develop the app by adding functionality for creating, updating, and deleting missions in the upcoming installment.
Apr 25, 2019 2,739 words in the original blog post.
Ionic 4.3, dubbed "Lithium Toast," introduces significant updates to the Toast component and addresses various bug fixes. The release enhances the Toast feature by allowing buttons for additional functionality, such as displaying text or icons and incorporating custom logic through handlers. Toasts can now include headers, providing more context for notifications. The update also improves the slider component with enhanced animations and resolves issues like incorrect tab navigation for Angular developers. These advancements, alongside other bug fixes involving datetime and input label design, aim to improve user experience and developer efficiency, with detailed documentation available for further guidance.
Apr 18, 2019 504 words in the original blog post.
The blog post introduces a series on building a full-stack TypeScript application using Ionic, Angular, and NestJS, focusing on the advantages of using TypeScript for both client-side and server-side development. TypeScript, with its optional static type checking and modern JavaScript features, is highlighted for enhancing development speed and reducing runtime errors. NestJS, a Node framework influenced by Angular, is presented as a powerful tool for building server-side applications, offering features like modules, controllers, and dependency injection, similar to other MVC frameworks such as ASP.Net MVC and Spring. The tutorial walks through creating a backend for a fictional space-themed app, GoSpaceRanger, using NestJS, and a front-end using Ionic and Angular, demonstrating how TypeScript's unified language can simplify development and allow potential code reuse between front-end and back-end. The post concludes with a working example of the app displaying missions fetched from the Nest API, setting the stage for deeper exploration of NestJS's capabilities in future installments.
Apr 11, 2019 2,240 words in the original blog post.
PhoneGap, later known as Adobe PhoneGap and Apache Cordova, revolutionized app development by enabling web developers to create native mobile experiences using web skills. However, it lacks a comprehensive SDK and UI infrastructure, making it challenging to build high-performing, native-like apps. This gap is effectively bridged by the Ionic Framework, which provides over 100 UI components, responsive design features, and platform-specific styling, allowing developers to focus on app features rather than mobile-specific concerns. Ionic ensures platform continuity by automatically adapting to different operating systems, such as iOS and Android, with minimal effort, and it keeps pace with the fast-evolving mobile landscape by handling new hardware form factors and design updates. With the release of Ionic 4, developers can now use various web frameworks like Angular, React, and Vue, or even none at all, making it easier to integrate Ionic into existing PhoneGap apps and offering significant advantages in terms of design and functionality.
Apr 08, 2019 1,186 words in the original blog post.
Ionic 4.2, codenamed Helium, has been released with new features and bug fixes. Notable additions include a new error event for the `<ion-img>` component, allowing a default image to load if the specified one fails, and optional tick marks on the `<ion-range>` slider, thanks to contributions from community members Ivan Tham and Seth Lilly. Bug fixes address issues with Activated Route Observables and improve the DateTime picker, such as defaulting to the local timezone and updating the days when a new month is selected. The Ionic team is also focusing on enhancing desktop support in future updates.
Apr 04, 2019 479 words in the original blog post.
Ionic Vue, introduced as a beta release, marks Ionic's expansion beyond Angular to embrace Vue.js, allowing developers to build cross-platform hybrid apps using Vue's syntax while leveraging Ionic's UI components. The framework, known for its open-source collection of UI components, facilitates the creation of high-quality apps that can be deployed on iOS, Android, desktop, and as progressive web apps. The integration with Vue involves setting up a basic Vue project using the CLI, incorporating vue-router for routing, and installing the @ionic/vue package, which enables access to Ionic's components. Although the virtual scroll component is not yet available in the beta, the framework supports overlay components like modals through the $ionic object. The development team encourages feedback on router integration, tabs ergonomics, and performance, aiming to refine the framework as it moves towards a more stable release.
Apr 03, 2019 943 words in the original blog post.
Ionic React is introduced as a web-native framework aimed at integrating smoothly with the React ecosystem by leveraging pure web technologies to build apps for mobile, desktop, and the web, without compromising on native performance and power. Unlike React Native, which uses JavaScript to control native iOS and Android elements, Ionic React runs in a browser environment using standard HTML elements and CSS, making it a natural choice for traditional web developers. The framework allows developers to incorporate existing web libraries and code, facilitating the development of Progressive Web Apps alongside app store apps. Ionic React offers a similar plugin model to React Native, where native code is exposed to JavaScript through plugins, but it differentiates itself by providing commercial support and additional native plugin functionality, catering to teams that prefer a more web-centric approach. The text suggests considering Ionic React if the goal is to target multiple platforms using web development skills, while React Native might be preferable for teams focused on native mobile experiences.
Apr 02, 2019 1,711 words in the original blog post.
The webinar discussed the challenges and strategies for developing hybrid mobile apps using Cordova, with insights from Ionic’s experts on dependency management, failed builds, and maintenance strategies. It addressed various questions, including debugging Ionic apps in Android Studio or Xcode, strategies for improving native mobile performance, and keeping up with iOS and Android updates. The session highlighted the importance of using the latest Cordova plugins and managing plugin conflicts, like those involving Google Play Services, by using tools like cordova-android-play-services-gradle-release. While building and submitting iOS apps typically requires a Mac, solutions such as Ionic’s cloud-based Package service offer alternatives for creating app binaries. Additionally, the text emphasized the benefits of Cordova plugins for web developers and introduced Ionic Enterprise Edition's Native Bridge feature, which facilitates access to native features and third-party apps for enterprise-level development projects.
Apr 01, 2019 1,298 words in the original blog post.