The team is now working on the WordPress Interactivity API. This unblocks the same UX Frontity framework enabled but directly in WordPress Core, fully compatible with the new Site Editor.
How to Style Pages coming from Wordpress Directly. There is no separate component. everything is handling using post.js
Thanks!
1 Like
luisherranz2
We’ll take a look. Thanks for sharing @aeyzazkhan, it looks like an amazing project
aeyzazkhan3
Thank you!
aeyzazkhan4
Nothing on this? The site takes too long to load. All i am doing is fetching menu from backend in SSR
luisherranz6
Sorry, I’ve been super busy. Taking a look right now.
luisherranz7
First of all, you’ve published the “development” version instead of the “production” version. I don’t know if that’s intentional, but just in case:
Development: npx frontity dev
Production: npx frontity build
You should do npx frontity dev when you are developing in your computer because you’ll get proper error messages, autorefresh (HMR) and so on. But once you want to upload your code to production, use npx frontity build. If you need to run Frontity in a Node server (instead of deploying to a serverless service) use npx frontity build && npx frontity serve.
You can distinguish between both versions because the development version tries to connect to a webpack endpoint: http://staging.parlaybros.com/__webpack_hmr and because the main javascript bundle is much bigger (10Mb in your case).
is there any solution that can solve this problem, as this site going to be live very soon and need to fix this issue.
luisherranz21
It shouldn’t be difficult once we add the server extensibility, which is one of our next steps because it’s needed for other packages as well. I think I’m going to be able to dedicate some time during this month. Once the server extensibility is ready, the "@frontity/material-ui" package should be really easy to do.
I will be able to give you instructions to create it yourself in case you want to get involved. But you cannot start until the server extensibility is ready.
1 Like
aeyzazkhan23
Hello, my application needs to be deployed to live server and without this fix i wont be able to push it live
luisherranz25
Hey @aeyzazkhan. If you need this feature right now, my recommendation is to do the SSR of Material UI yourself until we release the official package. You can either:
Fork @frontity/core.
Use something like patch-package to change the files.
Thanks it worked, there are still a few elements that wont load properly could you please have a look http://staging.parlaybros.com/
furrysmile229
Is this feature inbuilt yet instead of patching core?
luisherranz30
Hey @furrysmile2, not yet but I think it’ll be possible once we do some changes required for the @frontity/amp package: AMP package, which is in “Upcoming development” so coming soon
Once we’ve done that work I’ll come back here to see if it’s already possible or we have to expose more things.
1 Like
furrysmile231
In console now I get this on post click link prop is required and it should be string, it says to come here but no issue doc