=> useState() => useEffect() => useRouterError() => useParams() => customHooks()
=> config npm install -D tailwindcss postcss npx tailwindcss init
-> config the content:
/** @type {import('tailwindcss').Config} */ module.exports = { content: ["./src/**/*.{html,js,ts,jsx,tsx}"], theme: { extend: {}, }, plugins: [], }
Create .postcssrc file in root and insert this code -> { "plugins": {
"tailwindcss": {}
} }
@tailwind base; @tailwind components; @tailwind utilities;
-> import {useContext} from 'react' const {}=useContext(contextName) => context.Provider - To set the value
-> configureStore() -> createSlice -> reducer() -> reducers() -> useDispatch() -> useSelector()
=> Unit testing => Integration testing => End to End (E2E) testing
-> Install React Testing Library -> Install jest -> Install Babel dependencies -> Configure Babel -> Configure Parcel -> Jest configuration -> Install jsdom library