React Migration Cheatsheet: Difference between revisions
[[Trustroots Wiki]] is an independent wiki with information for people who are actively exchanging hospitality.
Jump to navigationJump to search
No edit summary |
No edit summary |
||
| Line 25: | Line 25: | ||
| | | | ||
|- | |- | ||
|<code><section tr-boards="..."></code> | |<code><section tr-boards="'...'"></code> | ||
|<code><Board names="..."></code> | |<code><Board names="..."></code> | ||
|} | |} | ||
Revision as of 08:06, 15 April 2020
| 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="...">
|