Open onemen opened 1 year ago
I like both of these suggestions 👍
<InlineFile file="app/routes/users+/$username.tsx" />
Sometimes, InlineFile is used to create new files, so i can not check if app/routes/users+/$username.tsx
exist, or event if the routes
exist....
do you have any idea how to find if the there is an error in this case?
<InlineFile file="app/routes/users_+/$username.tsx" />
or another typo
<InlineFile file="app/routes/usrs+/$username.tsx" />
?
We could have a "createFile" prop. If that isn't supplied then we error.
ExercisePartRoute
component get bloated with all the MDX component that are defined inline.what do you think about move
with all the components list to a new file or to
utils/mdx.tsx
, then you can importExerciseMdx
and wrap it with useMemo if needed.another improvement is to add remark plugin to validate inputs to Mdx components to prevents