💻⚡ H E L L O ⚡💻
Focused on React Native, TypeScript, and building mobile apps
💻⚡ H E L L O ⚡💻
Focused on React Native, TypeScript, and building mobile apps
// ------------ useState => dealing with multiple object in state
const [person ,setPerson] = useState(() => initialPerson);
# react native component
rnfe
function Product ({product: {title, price, description, category, image}}) {
return (
<div className="flex bg-white w-full mb-5 shadow-sm rounded-lg dark:bg-gray-300">
<div className="w-5/12 p-2">
<div style={{backgroundImage: `url("https://github.com/%3Cspan%20class=pl-s1%3E%3Cspan%20class=pl-kos%3E$%7B%3C/span%3E%3Cspan%20class=pl-s1%3Eimage%3C/span%3E%3Cspan%20class=pl-kos%3E%7D%3C/span%3E%3C/span%3E")`}} className="bg-contain bg-no-repeat bg-center w-full h-full"></div>
flex: 1,
jusifyContent: "center",
alignItems: "center"
yarn test 'path' -u
yarn test 'path' --watch
npx react-native init MyApp --template react-native-template-typescript