Home / Companies / Ionic / Blog / April 2021

April 2021 Summaries

5 posts from Ionic

Filter
Month: Year:
Post Summaries Back to Blog
Nx, developed by Nrwl, is a powerful tool designed to optimize the management of monorepos, particularly for Angular and React applications, by providing an extensible architecture with first-class support for various frameworks. It simplifies the development process through a unified workspace that allows the generation of both applications and libraries while enforcing a "single package philosophy" to maintain consistent dependency versions across projects. Nx's plugin architecture, including the Nxtend suite, facilitates the creation and management of Ionic apps, enabling developers to share code seamlessly and maintain best practices across different projects. This approach not only improves the developer experience but also enhances application reliability and consistency by allowing shared libraries and configurations. By integrating advanced CLI tools and plugins, Nx supports scalable and maintainable application development, making it an ideal solution for both small and large projects.
Apr 30, 2021 1,327 words in the original blog post.
The blog post provides a comprehensive guide on setting up a monorepo using Lerna for managing multiple development projects with shared code and dependencies. It highlights the benefits of monorepos, such as improved code sharing and dependency management, and details the process of initializing a Lerna repository, organizing project structure, and creating and linking Ionic Framework React applications with a shared React library. The tutorial also covers using Rollup for building the shared library, implementing a theme context for light/dark mode, and integrating the setup with Ionic's Appflow for continuous integration and deployment. By following the steps outlined, developers can establish a scalable and collaborative monorepo environment for their projects.
Apr 21, 2021 1,638 words in the original blog post.
Ionic has launched an early access program aimed at enhancing collaboration between web and native development teams by integrating web functionality into existing native mobile apps through an embedded WebView, powered by their Capacitor native runtime. This initiative enables web developers to safely extend native iOS and Android apps by adding new features, while native developers retain control over the project by managing which functionalities and data are accessible. The program allows teams to work in parallel, with web teams developing features like expense management screens, while native teams handle other aspects, potentially increasing efficiency and productivity. Ionic is seeking evaluation customers to participate in the program and provide feedback to shape the product's future direction.
Apr 19, 2021 469 words in the original blog post.
Ionic's starter projects now come equipped with ESLint, providing a unified linting tool across various project types and phasing out the deprecated TSLint. The transition from TSLint to ESLint, driven by the TypeScript community's push for improved tooling and a more cohesive experience for both TypeScript and JavaScript developers, began with TSLint's deprecation in 2019 and culminated in the TypeScript-ESLint team's efforts to support developers. To upgrade a project from TSLint to ESLint, developers can use Angular-ESLint schematics to automate the conversion process, after which they can fully utilize ESLint's wide range of plugins, including Prettier. This shift ensures that new Ionic Angular projects benefit from stable and modern linting tools, with appreciation expressed for the contributions of James Henry, Brad Zacher, and others in maintaining TypeScript-ESLint and Angular-ESLint.
Apr 13, 2021 523 words in the original blog post.
Monorepos are gaining popularity among organizations as they offer a unified repository for housing multiple projects, such as apps, libraries, and shared components, facilitating better cross-team collaboration and simplifying dependency management. By consolidating code into a single repository, monorepos eliminate the need to update dependencies across various projects separately, reducing maintenance burdens and enabling seamless refactoring. This setup allows teams to access the entire codebase, making it easier to implement changes and collaborate with code owners across different app segments. While the benefits of monorepos are significant, their implementation varies across framework ecosystems, with upcoming guidance promised for Angular, React, and Vue in future blog posts.
Apr 08, 2021 699 words in the original blog post.