React makes it painless to create interactive UIs. Design simple views for each state in your application, and React will efficiently update and render just the right components when your data changes.
The React advantage for Developers
Developers can reuse the button all over the web app and update the ‘state’ of each of these using ‘props’. The advantage to this is that every button on the site will look and behave in the same way. Of course, components will be much more complicated than just a button, and can do more than just take a user from one page to another.
Below are some helpful definitions to understand the terminology used when discussing React.
- State - The current data that is within the component, any time this is updated and the state changes, a re-render will take place
- Props - This is how information or data is passed from one component into another. For example if we reuse the button analogy where have colour, text and url managed in the state of the button, we could also have disabled as a state. If the button component is associated with a contact form, we could set the disabled state of the button to be true until all of the fields of the form are completed and then update the state of the button component using props
Developers are able to reuse tested code and know that it will stand up to stress.
The React advantage for our clients
We now know that React is a data driven tool, and allowing our clients to manage the content for a data driven API means we can treat Drupal as a headless CMS for the output of JSON in an API format. New content can be created in the same way new pages can be created. The same goes for content within each page, reducing what could be a time intensive process to update their site (or multiple sites from one data source).
Some examples of our use of React
Catch is experienced in offering our clients effective solutions that take advantages of all the benefits of React.
If you're ready to start your journey and see how we can help you improve your connection with your audience through smart technology like React, don't hesitate to get in touch.
Related news and work
We're a Top 50 UK client rated digital agency
We've been named as one of the top 50 client rated digital agencies in the UK in The Drum's Digital Agency Census 2021
Helping UK SMEs unlock the value of digital advertising
Helping IAB to help the UK’s small businesses unlock the value of digital advertising for their brand
This week we’re proud to announce the launch of the new YOTEL international website platform + booking experience www.yotel.com.
YOTEL disrupt the world of hospitality through people, technology and design. With Catch’s track record in using technology and design to create customer-centric digital experiences, it was a natural fit for YOTEL to select Catch after a competitive pitch process to design and build a new web platform.
The new platform will support the brand’s global ambitions of having 60 hotels open or in development by 2025.
Visit www.yotel.com and book your next trip.
If you’re interested in how Catch can help your brand better connect with your customers, increase conversion, or even help you navigate your PMS decision, please get in touch.
Related news and work
Appealing to an audience looking for extraordinary experiences
A platform to support YOTEL in disrupting the world of hospitality through people, technology and design
Improving conversion rate and driving growth
Using customer insights to prototype a new mobile experience, improving conversion rate and driving growth