react-native-icons-builder is a CLI tool designed to generate React Native icons from the react-icons library.
 It uses SWC to transform the React Ic

Search code, repositories, users, issues, pull requests...

submited by
Style Pass
2024-09-20 15:00:03

react-native-icons-builder is a CLI tool designed to generate React Native icons from the react-icons library. It uses SWC to transform the React Icons code into React Native components.

React Icons are not natively compatible with React Native: React Icons is a popular library for web applications but doesn’t work out of the box with React Native. This tool provides a way to transform React Icons into React Native components, making them usable without unnecessary overhead.

Metro doesn’t support Tree Shaking effectively: Metro, the bundler used in React Native, lacks efficient Tree Shaking capabilities. Therefore, bundling all of the React Icons together could lead to increased bundle sizes. This tool minimizes bundle size by allowing you to install only the icons you need directly into your project.

Leave a Comment