Skip to content
Advertisement

Tag: reactjs

which is the correct way to acces the props? [closed]

Closed. This question needs details or clarity. It is not currently accepting answers. Want to improve this question? Add details and clarify the problem by editing this post. Closed 1 year ago. Improve this question I think I’m not accessing the property src correctly, this can be found in all the objects in a line like this one logo: <img

How to get non-minified react errors for Gatsby

Trying to run gatsby build and getting this error message. failed We’ve encountered an error: Minified React error #31; visit https://reactjs.org/docs/error-decoder.html?invariant=31&args[]=object%20with%20keys%20%7Bid%2C%20frontmatter%2C%20parent%7D for the full message or use the non-minified dev environment for full errors and additional helpful warnings. To see the full message I have tried: “GATSBY_ENV=development && gatsby build –no-uglify” But this makes no changes. Message at reactjs.org Objects

tailwindcss 3 is not loading css in react

i have been using tailwindcss 2 but i wanted to upgrade to 3. I followed their tutorial but is not working i dont know why. tailwind.config.js postcss.config.js index.css index.css is imported in index.tsx. index.tsx file package.json Text.jsx Answer I found the issue, you need to update react-scripts to the latest update npm install react-scripts@latest

Advertisement