Posts by Matheus Paice • 26 points
4 posts
-
-1
votes1
answer107
viewsA: React and Redux - update status with button
Tip: By default, codar is attempted in English !!! export const handleModal = event => ({ type: 'ABRIR_MODAL', payload: { ...lista, show:true } // remover "...lista" }) export const closeModal =…
-
1
votes1
answer187
viewsA: Cache Redux Store state
To accomplish this process the ideal is to use this guy who will help you in relation to store the data locally in the frontend https://github.com/rt2zz/redux-persist…
-
-1
votes1
answer828
viewsA: How to use Localstorage in a functional React component
const App = () => { const [repositories, setRepositories] = useState([]); useEffect(() => { const repositoriesLocal =…
-
-1
votes2
answers465
viewsA: Hide a Navbar item in React JS according to the page
const Header = (props) => { const { login } = props; return ( <div> { !login && <button> login </button> } </div> )…