davidgonmar
Explore posts from serversPD🧩 Plasmo Developers
•Created by davidgonmar on 7/20/2023 in #👟framework
Cannot import package that exposes .mjs files instead of .js files
I don't even remember where I found I could use that haha, but yeah, you can 'override' the default way of importing packages with it
18 replies
PD🧩 Plasmo Developers
•Created by davidgonmar on 7/20/2023 in #👟framework
Cannot import package that exposes .mjs files instead of .js files
18 replies
PD🧩 Plasmo Developers
•Created by davidgonmar on 3/6/2023 in #👟framework
React.jsx: type is invalid.
Have a good day louis!
33 replies
PD🧩 Plasmo Developers
•Created by davidgonmar on 3/6/2023 in #👟framework
React.jsx: type is invalid.
Thanks for explaining:)
33 replies
PD🧩 Plasmo Developers
•Created by davidgonmar on 3/6/2023 in #👟framework
React.jsx: type is invalid.
Alright
33 replies
PD🧩 Plasmo Developers
•Created by davidgonmar on 3/6/2023 in #👟framework
React.jsx: type is invalid.
But it still tries to mount it and gets undefined of course(since it doesnt export default anything)
33 replies
PD🧩 Plasmo Developers
•Created by davidgonmar on 3/6/2023 in #👟framework
React.jsx: type is invalid.
Yeah I dont
33 replies
PD🧩 Plasmo Developers
•Created by davidgonmar on 3/6/2023 in #👟framework
React.jsx: type is invalid.
And even on production it works fine
33 replies
PD🧩 Plasmo Developers
•Created by davidgonmar on 3/6/2023 in #👟framework
React.jsx: type is invalid.
Ok thanks:) but any idea on why it works fine as long as I dont edit their files while in dev server?
33 replies
PD🧩 Plasmo Developers
•Created by davidgonmar on 3/6/2023 in #👟framework
React.jsx: type is invalid.
Not really intended to. They are just regular 'export const whatever' React Components @louis
33 replies
PD🧩 Plasmo Developers
•Created by davidgonmar on 3/6/2023 in #👟framework
React.jsx: type is invalid.
What is the expected behaviour? Thanks for the help btw:)
33 replies
PD🧩 Plasmo Developers
•Created by davidgonmar on 3/6/2023 in #👟framework
React.jsx: type is invalid.
If that condition is not met plasmo just mounts the component in the root of /contents but files inside folders do not get touched at all
33 replies
PD🧩 Plasmo Developers
•Created by davidgonmar on 3/6/2023 in #👟framework
React.jsx: type is invalid.
Then I think there might be a bug. Plasmo only tries to mount it(and gives an error since they are not really thought to be mounted that way) when I am on the dev server and edit them
33 replies
PD🧩 Plasmo Developers
•Created by davidgonmar on 3/6/2023 in #👟framework
React.jsx: type is invalid.
If I restart the server everything works fine, but its annoying
33 replies
PD🧩 Plasmo Developers
•Created by davidgonmar on 3/6/2023 in #👟framework
React.jsx: type is invalid.
But somehow whenever I change some code on the components folder with the dev server(hmr) enabled, Plasmo will try to mount that component independently, which should not happen since it is not in the root of /components/ if I am not mistaken @louis
33 replies
PD🧩 Plasmo Developers
•Created by davidgonmar on 3/6/2023 in #👟framework
React.jsx: type is invalid.
My contents folder looks like this:
-contents
-VideoBadge.tsx
-components
33 replies
PD🧩 Plasmo Developers
•Created by davidgonmar on 3/6/2023 in #👟framework
React.jsx: type is invalid.
Is this a bug or how can I fix that?
33 replies
PD🧩 Plasmo Developers
•Created by davidgonmar on 3/6/2023 in #👟framework
React.jsx: type is invalid.
After some digging its kind of trying to render 2 content elements even though there is only one in the root of contents
33 replies