import * as React from 'react'; import styled from 'styled-components/macro'; import { Title } from '../components/Title'; import { Lead } from '../components/Lead'; import { SubTitle } from '../components/SubTitle'; import { P } from '../components/P'; import { A } from 'app/components/A'; import { GithubRepoForm } from './GithubRepoForm'; import { ThemeSwitch } from './ThemeSwitch'; import { LanguageSwitch } from './LanguageSwitch'; import { ReactComponent as StateIcon } from './assets/state.svg'; import { ReactComponent as CSSIcon } from './assets/css.svg'; import { ReactComponent as INTLIcon } from './assets/intl.svg'; import { ReactComponent as TSLogo } from './assets/ts.svg'; import { ReactComponent as RouteIcon } from './assets/route.svg'; import { ReactComponent as SEOIcon } from './assets/seo.svg'; import { ReactComponent as InstantFeedbackIcon } from './assets/instant-feedback.svg'; import { ReactComponent as ScaffoldingIcon } from './assets/scaffolding.svg'; import { ReactComponent as CodeAnalysisIcon } from './assets/code-analysis.svg'; import { useTranslation } from 'react-i18next'; import { Link } from 'app/components/Link'; import { messages } from '../messages'; export function Features() { const { t } = useTranslation(); return ( <> Features Crafted for highly scalable,{' '} easily maintainable and{' '} highly performant React.js applications with a focus on{' '} best DX and best practices. Predictable State

Build easy to test and debug, flexible and extensible applications using{' '} Redux . Unidirectional data flow allows for change logging and time travel debugging.{' '} Install Chrome Redux Dev Tools {' '} to see how your application's state changes and travel in time to debug. Type any github username below and see it in action with Redux Dev Tools.

Next Generation CSS

Write composable CSS that’s co-located with your components for complete modularity. Ship only the styles that are on the page for the best performance. Generate application-wide styles and themes for your components. Change the theme below to see how easy and intuitive theming can ever be!

{t(messages.i18nTitle())}

{t(messages.i18nDescription())}
(Only some of the features below are translated to demonstrate an example)

{t(...messages.routingTitle())}

{t(messages.routingDescription())}
Go to our{' '} /NotFound{' '} page to see how routing works

{t(messages.feedbackTitle())}

{t(messages.feedbackDescription())}

{t(messages.scaffoldingTitle())}

{t(messages.scaffoldingDescription())}

SEO

Supports SEO (document head tags management) for search engines that support indexing of JavaScript content.

TypeScript

Typescript is the key to scalability. Build self-documented code, easy-to-debug code and create maintainable large applications and codebases with a highly productive development experience.

Static Code Analysis

Focus on writing new features without worrying about formatting or code quality. With the right editor setup, your code will automatically be formatted and linted as you work.

); } const Feature = styled.li` display: flex; margin: 6.25rem 0 6.25rem 2.25rem; .feature-icon { width: 6.25rem; height: 6.25rem; margin-right: 2.25rem; flex-shrink: 0; } `; const Content = styled.div` flex: 1; `; const List = styled.ul` padding: 0; margin: 6.25rem 0 0 0; `;