DEV Community

Cover image for Frontity, a React framework to create WordPress sites

Frontity, a React framework to create WordPress sites

Reyes Martínez on May 14, 2019

These last months have been pretty intense here at Frontity. Back in March we decided to discontinue the development of our mobile theme for WordPr...
Collapse
 
kivabitar profile image
kivabitar

This is pretty cool! I have a semi-styled localhost version of another site up in less than an hour. Quick question, is there any way to pull in ACF fields via the normal WP RESTFUL API? github.com/airesvsg/acf-to-rest-api/ <-- The ACF fields ouput in JSON, directly after the content and meta info. I tried post.acf.field_title and a couple other ways of accessing that data, but no luck. Thanks!

Collapse
 
r_martinezduque profile image
Reyes Martínez • Edited

Hi! Thanks for reaching out! Although this topic of our forum addresses other issue, I think this answer can help you: community.frontity.org/t/acf-optio....

If it doesn't, please let me know and we'll be happy to look into it. Thanks :)

Collapse
 
kivabitar profile image
kivabitar

Thenk you Reyes, this is EXACTLY what I was looking for!

Thread Thread
 
r_martinezduque profile image
Reyes Martínez

Glad it helped! Feel free to reach out if you have any other questions or would like to share what you're building. We'd love to learn about your experience 😊

Collapse
 
dance2die profile image
Sung M. Kim

Just signed up for the notify email list :)

I'd love to try this out as I was trying to build a Gatsby frontend (as no batteries are included) as my current WordPress page is slow.

Collapse
 
r_martinezduque profile image
Reyes Martínez • Edited

Thanks Sung! That looks very cool!

I'd love to hear more about the challenges you've faced using WordPress as a headless CMS. If you could share your thoughts or experience in our community forum that would be really helpful :)

Collapse
 
dance2die profile image
Sung M. Kim

I've posted on the forum regarding the challenges here :)

Thread Thread
 
r_martinezduque profile image
Reyes Martínez

Our framework aims to make building sites with WordPress and React easier and this kind of feedback is always useful to improve. Thank you for sharing it with us!

Let us know how it goes when you have the chance to try out the beta :)

Collapse
 
jel111 profile image
dumdumdev

This sounds incredible I can’t wait.

Collapse
 
r_martinezduque profile image
Reyes Martínez

Hey! Did you have the chance to try Frontity out? We'd love to hear your thoughts and know if we can be of any help :)

Collapse
 
r_martinezduque profile image
Reyes Martínez • Edited

Thank you! I'm glad to hear that. It would be great to get your feedback once we launch the beta :)

Collapse
 
sumit2201 profile image
sumit2201

I am very new in both the technologies (React & Wordpress) but planning a huge content community website with frontity, will I be able to use wordpress multisite and all its related plughins If I choose frontity?
I am also planning to use mongo db (For users and other business logic data) and S3 storage (for storing images & videos).
Do you think it will make sense to use all of them together?

Collapse
 
r_martinezduque profile image
Reyes Martínez

Hi! Thanks for reaching out :)

I'm not sure about the WordPress multisite, but if the REST API is the same, it should work. Would you mind to share your questions along with the URL of the multisite on our forum (community.frontity.org/) so the dev team can take a look at it? I'm pretty sure they'll give you a better answer than me and advice on the best approach :) We'd love to help out!

Collapse
 
sumit2201 profile image
sumit2201

Thank you so much for your reply, I will surely ask this on your forum after preparing some more information and will try to be more specific while asking on your forum :)

Thread Thread
 
r_martinezduque profile image
Reyes Martínez

Sounds great, we look forward to hearing from you :)

Collapse
 
viscosho profile image
Virginia Garcia Ortiz

Hi! I'm trying it out and I have two questions: Are there themes available already for it? And can I still use Gutenberg blocks and display them on the front?

Collapse
 
r_martinezduque profile image
Reyes Martínez

Hi Virginia! Right now, we have two starter themes which allow you to get your site running on Frontity easily: mars.frontity.org/ and twentynineteen.frontity.org/. They can be customized to fit your needs.

Regarding your second question: yes, I think you could still use Gutenberg blocks. However, we are thinking about releasing a @frontity/gutenberg npm package to make sure everything works fine. What this package does is to put the CSS that Gutenberg injects into PHP themes.

If you run into any issues or need a hand, feel free to ask in our forum: community.frontity.org/. We'll be happy to help! :)

Collapse
 
viscosho profile image
Virginia Garcia Ortiz

Thanks for the reply, I have tried both themes by now, and I have started experimenting myself with adding stylesheets that have the CSS for the gutenberg blocks, looking forward to see that new theme.

Thread Thread
 
r_martinezduque profile image
Reyes Martínez

That sounds great, Virginia! We've opened a new topic in our forum about the Gutenberg support: community.frontity.org/t/gutenberg.... Any feedback or thoughts that you'd like to share with us if you investigate further would really valuable!

Collapse
 
r_martinezduque profile image
Reyes Martínez

Hi Virginia!

Did you manage to get Frontity working? We would love to hear more about your experience and know if we can be of any help :)

Collapse
 
adovgun profile image
Anatoliy

From my personal experience:
I have been working with WordPress for a very long time, there were different dynozres in my combat practice;): WP + AngularJs, WP + Vue.js, and it was React time, I also, like other guys, paid attention to GatsbyJs. And purely by chance, I joined the Frontity development team as a tester.

Frankly, I really like the circle of people who create this framework. Yes, much remains to be done, but the pace and persistence with which they do it gives every reason to expect the best.

Well done, we look forward to the release and are ready to support you with claps of hands and harsh criticism.

Collapse
 
r_martinezduque profile image
Reyes Martínez

Thank you for your kind words and your continued support Anatoliy! We are happy to have you in our community! 🤗

Collapse
 
aravindajith profile image
Aravind Ajith

Frontity helped us to build a super slick website! It makes it very easy to set up, build and maintain a headless WordPress site. Just sharing our case study here - awsm.in/frontity-case-study/

Collapse
 
r_martinezduque profile image
Reyes Martínez

Thanks for sharing this, Aravind! 🙂

Collapse
 
carloscostaprag profile image
Carlos Costa

Frontity has stopped updating its framework. I would like to create a react site where wordpress was the backend, any recommendations for an alternative to Frontity?