<commit_before>import React from 'react';
import PropTypes from 'prop-types';
import colors from 'Styles/colors';
import { RouteContext } from '@shopgate/pwa-common/context';
import Content from './components/Content';
import ViewProvider from '../../providers/View';
import { ViewContext } from './context';
import styles from './style';

/**
 * The View component.
 * @param {Object} props The component props.
 * @return {JSX}<commit_msg>PWA-1491 Adjusted view component in iOS to match the new cached routes.<commit_after>import React from 'react';
import PropTypes from 'prop-types';
import colors from 'Styles/colors';
import { RouteContext } from '@shopgate/pwa-common/context';
import Content from './components/Content';
import ViewProvider from '../../providers/View';
import { ViewContext } from './context';
import styles from './style';

/**
 * The View container component.
 * @param {Object} props The component props.
 * @return {JSX}
{'fraction_non_alphanumeric': 0.13894736842105262, 'fraction_numerical': 0.004210526315789474, 'mean_word_length': 4.6946107784431135, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6782258', 'n_tokens_mistral': 253, 'n_tokens_neox': 254, 'n_words': 97}