What's new?
Product
Who uses Directual?
What can be built on Directual
Learn Directual
Why Directual?
Resources
Legal
Company

Directual and React

May 14, 2020

React nowadays is the most popular JS-library for building user interfaces. Directual matches React perfectly, providing flexible and scalable backend. This post is an introduction for the future series concerning building complex apps on a full-stack combination of Directual and React.

Why React is so Popular?

React is an open-source JavaScript library for developing user interfaces. It was delivered by Facebook engineering team and nowadays such companies as PayPal, Uber and Netflix use React.

Let’s have a look at the figure from Stateofjs 2019 research:

Stateofjs.com survey

React has attracted quite an army of fans (~150k stars on GitHub). Most of them are loyal—71.7% of all the web-developers have used React and would use it again. Let’s figure out why:

  • Clean and readable code. Reusable components allow developers to build complex UI, keeping the flexibility.
  • Easy to learn. A JS-dev can became a React-dev in a few hours.
  • Outstanding rendering performance. React introduced Virtual DOM, that minimised re-render processes.
  • React Native. The same codebase for crafting iOS and Android apps.

Perfect Combination

Indeed, React seems to be the right choice to create an app with sophisticated UI keeping the best possible performance. But any app (if it’s more than a landing-page) needs a backend part too!

And here we are! Directual covers all the needs in backend development:

  • Database. Scalable NoSQL cloud-hosted database with clean UI for setting it up.
  • Authentication. Full Role-based Access Control (RBAC) plus built-in Google authentication.
  • API-methods. These are the ‘gates’ between UI and backend;
  • Backend logic. It includes data transforming, calculations and real-time actions.
  • Integrations. An app hardly lives in a vacuum.

One might say that there are some JS-frameworks for setting up a backend as well. Yes, there are. That is why Directual turns out to be much better:

  • Outstanding flexibility and speed of development. Directual is a low-code platform. That means that you apply high-level building blocks in a visual manner. Most of routine work is performed under the hood.
  • No infrastructure headache. Directual is built on AWS-cloud infrastructure and scales automatically.
  • Built-in RBAC and Security. Authenticate your users simply and securely. Visual API-builder allows you to configure new methods in minutes.
  • Powerful scenarios. Directual scenarios include tools for data transforming, integrating, reporting and document generating. You don’t have to code for it!
  • Easy to learn. Directual visual approach is comprehensible even for non-developers. Video tutorials are available in Directual Academy.

Open-source Boilerplate-project for React

We prepared boilerplate-code for ReactJS. You can investigate its code on GitHub (it uses React hooks). Feel free to use this boilerplate in your projects, it is open source.

There are following pieces of functionality which could help you to get up and running quickly:

  • Connecting to Directual API and setting up middle-proxy (explore files auth.js and setupProxy.js)
  • Routing based on RBAC (file App.js and MainMenu component)
  • Authentication (LoginRegister component)
  • Components that get data from Directual (Cards component, for example)
  • Forms that post data to Directual (Form component)

These pieces of functionality are reusable for any React template as well!

FAQ

What is ReactJS?
What is ReactJS?

React, or ReactJS, is a free and open-source frontend JavaScript library for building user interfaces based on components.

What is front-end?
What is front-end?

Typically, frontend is a graphical user interface of a website that allows users to view and interact with the website or with the mobile app.

What is JavaScript?
What is JavaScript?

JavaScript, often abbreviated JS, is a popular programming language, often used for developing web-apps.

Can I use no-code and ReactJS in tandem?
Can I use no-code and ReactJS in tandem?

Yes, you can. Directual and React are a perfect match. React is a great choice for building the frontend, while Directual is perfect for handling the backend.

Featured blog posts

Directual Pricing update

See the latest changes to our pricing.

May 30, 2024
by
Pavel Ershov

Top 10 no-code form builder platforms for 2024

Got a form for someone to fill out but no desire to code-monkey the whole thing? Look no further—10 options to choose from, right here.

May 13, 2024
by
Pavel Ershov

Are no-code platforms like Directual compliant and secure?

Thinking no-code platforms will run away with your data? Think again, or better yet—read this and it’ll help you sleep at night.

April 30, 2024
by
Pavel Ershov

No-coding and affiliate marketing: top 10 directions for 2024

Discover how affiliate marketing can turn your online presence into profit by focusing on niche markets. Monetize blogs and social media effortlessly.

April 5, 2024
by
Eugene Doronin

Introducing a new way to earn D-coins!

Earn D-coins by shouting about Directual everywhere! See the full list of rewards for your social network activities.

March 27, 2024
by
Pavel Ershov

How to make the most out of Directual’s pricing and resource limits

For everyone on the fence about trying and worrying about the small print: see in depth how Directual pricing and operational limits work! The platform is as pay-as-you-go as it gets.

March 19, 2024
by
Pavel Ershov

Ready to build your dream app?

Join 22,000+ no-coders using Directual and create something you can be proud of—both faster and cheaper than ever before. It’s easy to start thanks to the visual development UI, and just as easy to scale with powerful, enterprise-grade databases and backend.