Having provided some context to where Redux sits in the web development let's look at it in more detail. It's also worth noting that Redux isn't always necessary, whereby if an application has a simple data structure, the React state management, such as the Context API, or just passing it down through props, is often enough. The front end developer will likely utilise a user interface library such as React which they connect to Redux to create an automatically updating User Interface.Ĭonsidering redux is just plain JavaScript, it is possible that the backend developer could use Redux to store data in the database but there are much better methods for the back end of the application so I would advise you just think of Redux as a front end library. The front end developer will then use Redux to pull this data into the front end of the application. An example of the REST API may be the WordPress API, Netlify or Mongo DB. To clarify, let's look at an example example use case.Ī back end developer has implemented a REST API which opens up the applications database for use on the front end. It exists in a strange space between the front and back end of an application which often confuses beginners about its role in an application. Redux is a state management tool which helps us manage data for our applications.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |