Frequently asked Import ErrorsFor example,ModuleNotFoundError: No module named 'api' it seems that Django can't find you application, it can't be related to the PYTHONPATH or DJANGO_SETTINGS_MODULE environment varaibles. Can y please attach the settings.py file content? (specifi...Jan 1, 2024 · 1 min readarcherzou.hashnode.dev
Compound Component Patterncommon pattern app.js import Counter from "./Counter"; import "./styles.css"; export default function App() { return ( <div> <h1>Compound Component Pattern</h1> <Counter iconIncrease="+" iconDecrease="-" lab...Jun 27, 2023 · 2 min readarcherzou.hashnode.dev
Snippets on Javascript ES6Destruction case: convert object const points = [ [4, 5], [10, 1], [0, 40] ]; to [ { x: 4, y: 5}, { x: 10, y: 1}, { x: 0, y: 40} ] // ES5: points.map( pair => { const x = pair[0]; const y = pair[1]; }); // ES...Jun 3, 2023 · 3 min readarcherzou.hashnode.dev
How to Optimize Search with ReactBuild a React.js Job Finder Application This is a job finder application that I have built with ReactJs. And I use JSearch API to gather job postings and other data. And here is searching page. And the search keywords are based on the optional param...Mar 10, 2023 · 7 min readarcherzou.hashnode.dev