Best practice for naming schema documents in Sanity.io
Last updated: Oct 18, 2023
Hey all, would it be best practice to have all schema documents named
or should I only use those for more dynamic schemas?
Oct 17, 2023, 9:01 PM
Only needed if you plan to have inline JSX syntax. It’s probably “cleaner” to keep JSX components outside of the schema type files. This is because we use Vite under the hood, and it’s opinonated about this stuff .