Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个关于在 React Native 中捆绑的问题。我正在为我的视图创建单独的样式文件。假设我有两个具有相同样式的视图。它会加载两次还是捆绑会为所有视图创建一个 js 文件并且它只会被考虑一次?
由于样式在单个文件中,因此只会捆绑一次。