React Migration Cheatsheet
Angular | React |
---|---|
someString
|
import { useTranslation } from 'react-i18next';
|
<someElement class="...">
|
<someElement className="...">
|
<a ui-sref="alias">
|
<a href="path">
|
<!-- comment -->
|
{/* comment */}
|
<someElement ng-if="condition">
|
{condition && (<someElement>)}
|
ng-repeat | |
ng-include | |
<section tr-boards="...">
|
<Board names="...">
|