react.dev
react.dev copied to clipboard
more renames from actions to functions
trafficstars
If have changed the following to prevent confusion. In these cases updateName and createNote will most likely be Server Functions, importing them from ./actions will not help in understanding the new terminology.
--import {updateName} from './actions';
++import {updateName} from './server';
The same reasoning applies to the rename from createNoteAction to createNote.