December 2024 M T W T F S S 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
Tag Archives: reactjs
When you click and page reloads…
when you have a button on a page that, when you click, reloads the page and you don’t know why, it maybe that your button is within the form tag and defaults the type to submit. Make sure your button … Continue reading
Posted in HTML, JavaScript, ReactJS
Tagged bootstrap, form, react, reactjs, reactstrap
Comments Off on When you click and page reloads…
Sample SPA – React + Redux with Axios
I’ve put together a Codepen showing the sample usage of Redux (State Management) with network requests (via Axios HTTP Client) in the React framework.
Posted in JavaScript, ReactJS
Tagged axios, middleware, reactjs, redux
Comments Off on Sample SPA – React + Redux with Axios
Chrome Extension with React – gotcha
I’m rebuilding my Chrome Extension Tab List to use ReactJS (as part of my learning trip) and encountered following error: Uncaught EvalError: Refused to evaluate a string as JavaScript because ‘unsafe-eval’ is not an allowed source of script in the … Continue reading
Posted in bugs, JavaScript, ReactJS
Tagged bugs, chrome, chrome-extension, content_security_policy, eval, evil-eval, reactjs
Comments Off on Chrome Extension with React – gotcha
Web App – Hiragana/Katakana Tester – made with ReactJS
I want to present another Web App that I’ve made during my ReactJS adventure. This app is the Hiragana/Katakana [syllabary] Tester.
Posted in JavaScript, ReactJS
Tagged hiragana, japanese, javascript, katakana, reactjs, romaji, web-app
Comments Off on Web App – Hiragana/Katakana Tester – made with ReactJS
Order of Higher Order Components (HOC) matters
I’ve just learned the hard way that order of calling Higher Order Components (HOC) matters and can lead to hard to debug errors. I’ve used the Redux and React Router Dom. Started with Redux so I had component like so:
Posted in JavaScript, ReactJS
Tagged javascript, react-router-dom, reactjs, redux
Comments Off on Order of Higher Order Components (HOC) matters