INNER CODE UNIT · JavaScript

prepare

creativetimofficial/material-kit-react-native · App.js:51

    async function prepare() {
      try {
        //Load Resources
        await _loadResourcesAsync();
      } catch (e) {
        console.warn(e);
      } finally {
        // Tell the application to render
        setAppIsReady(true);
      }
    }
    prepare();
  }, []);

  const _loadResourcesAsync = async () => {
    return Promise.all([...cacheImages(assetImages)]);
  };

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…