Course lesson
Perform Data Fetching and Mutations in SolidStart with createAsync
Most applications involve some level of data fetching and data mutations.
- Duration
- 2 min
- Access
- Free
- Transcript
- Retained from source evidence
Most applications involve some level of data fetching and data mutations.
To fetch data in a SolidStart application, we can leverage createAsync, a primitive that turns a promise into a signal.
In this lesson, we will learn how to leverage createAsync to fetch data from our previously defined API Route. We will also leverage our API Route to perform some data mutations.