Server Side

Loading "Server Side"
๐Ÿ‘จโ€๐Ÿ’ผ Now that we send that reference and any arguments to the backend when we submit the form. We need an endpoint that will handle that POST request.
The POST request we're making includes the id of the action in the rsc-action header:
file:///Users/kentcdodds/code/epicweb-dev/react-server-components/playground/ui/actions.js#updateShipName
We can use that to find the module and module function to call in our server handler.
We'll be using a few server-side modules for parsing the form submission data. As this is not a Node.js/hono.js course, some of this will be given to you. You will be responsible for parsing out the action file to import and calling it with the correct arguments.
When you're finished with this one you should finally be able to submit the form and it should work!
Login to get access to the exclusive discord channel.
  • General
    Failed to fetch dynamically imported module...
    FacuPerezM:
    I am getting this error out of nowhere, in the 'test' tab inside the Workshop app. ``` Failed to f...
    2 ยท 5 hours ago
  • General
    Runninng Learning app on iPad?
    marcus_polonus ๐Ÿš€:
    Hi all, Did anyone managed to setup learning app on iPad? I tried to use codesandbox, but when I am...
    0 ยท 2 days ago
  • General
    Clicking an exercise file launch VIM instead of VS Code
    DBattou ๐Ÿš€:
    I started going through the workshops, everything is setup and working fine except for opening a fil...
    • โœ…1
    2 ยท 5 days ago
  • General
    Epicshop not saving the video resolution
    Toni ๐Ÿš€:
    Playback speed and caption settings are saved, but the video resolution always defaults to auto. Is ...
    • โœ…1
    7 ยท 3 days ago
  • General
    Launch editor error: spawn code ENOENT
    Andrew Elans ๐ŸŒŒ ๐Ÿš€:
    Clicking index.html gives this error in VS Code. Both from Chrome and Safari. Anyone?
    • โœ…2
    3 ยท a day ago
  • General
    Welcome to EpicReact.dev! Say Hello ๐Ÿ‘‹
    Kent C. Dodds โ—† ๐Ÿš€๐Ÿ†๐ŸŒŒ:
    Welcome to the first of many posts in the EpicReact.dev channel! Take a moment to introduce yourself...
    • ๐Ÿš€5
    34 ยท a day ago