MDX with Next.js App Router

  Рет қаралды 12,778

leerob

leerob

Күн бұрын

Пікірлер: 53
@codinginflow
@codinginflow 14 күн бұрын
DMX is my favorite rapper
@joscript7846
@joscript7846 13 күн бұрын
😂😂😂😂
@lostinthenarrativve
@lostinthenarrativve 13 күн бұрын
Peak german lameness
@australianman8566
@australianman8566 14 күн бұрын
dude i needed this. i was literally going to start reading on how to do this and then boom this video just popped up
@aghileslounis
@aghileslounis 14 күн бұрын
Clean setup. You should make a video/course on design btw you're great at it, all your demo apps looks great
@rahulgupta7720
@rahulgupta7720 14 күн бұрын
Awesome Video Lee!! I really want to see more content from you regarding Nextjs and some react patterns in general. Keep up the good work!!
@derproka
@derproka 14 күн бұрын
MDX was really easy to setup when I needed it
@amosmachora
@amosmachora 10 күн бұрын
Actually those overview videos are pretty cool. You can talk about something cool in nextjs and just link the docs.
@AVidhanR
@AVidhanR 13 күн бұрын
First time here curious about mdx so watching now
@simonhartley9158
@simonhartley9158 14 күн бұрын
I hope you're doing okay, Lee. I always appreciate your stuff.
@vaniad555
@vaniad555 14 күн бұрын
Awesome work, we like to see more please!
@MohamedElguarir
@MohamedElguarir 14 күн бұрын
what's the vscode extention that's rendering the markdown?
@glekner
@glekner 14 күн бұрын
Turbopack does not work with remark/rehype plugins when configured through @next/mdx, any update on that? we have 500+ doc pages and we really need turbo.
@joshhinden67
@joshhinden67 14 күн бұрын
Not sure if helpful, but I’m pretty sure you can use remark (or simply modify tree with visit) if you use it outside the pipeline. Get the tree first (mdast), do stuff (remark) then compile back and use it. Or skip next mdx entirely and just get the data, do stuff and render yourself. Imports won’t work, but you can get exports as data and process them when building out the components. Tried something similar and just skipped next mdx entirely using fromMarkdown npm.
@glekner
@glekner 14 күн бұрын
@@joshhinden67 Thanks. for now we did skip next mdx, because we are migrating from another platform and some markdown files are not valid because of custom blocks. with next/mdx, 1 invalid file is enough to crash the dev/build. So i'm using next-mdx-remote-client to render dynamically, but imports indeed don't work and I need them for relative image imports, let me know if you have any suggestions in that area, thanks!
@joshhinden67
@joshhinden67 14 күн бұрын
@@glekner Yeh, sounds like we have been down a similar rabbit hole. I tried MDXBundler and got it working alright, but imports don’t work with aliases @ etc and was also a fuss as you need to generate files with a build script. I didn’t test it as I’m not using imports but should work, but you’d have to update your paths to not use aliases. That said, I think if you ‘do stuff’ to the mdast tree and then compile it with next mdx it should work. In other words, remark the extracted tree data and then compile and I don’t think it will throw a fit. Haven’t tried yet but planning to try
@talatkuyuk6556
@talatkuyuk6556 11 күн бұрын
@@glekner I am the owner of next-mdx-remote-client, glad to hear that you use it.👋
@glekner
@glekner 10 күн бұрын
@@talatkuyuk6556 love your fork, thank you for the hard work. do you wanna help with the relative images issue? :)
@rohitsanwariya7217
@rohitsanwariya7217 13 күн бұрын
how can we integrate rehype and remake to support math symbols with LaTex Thanks
@mike-2342
@mike-2342 14 күн бұрын
Nice one Robby boy
@souvlaki42
@souvlaki42 14 күн бұрын
Great video. Is there a way to publish your posts through Obsidian using this setup?
@10zDelek
@10zDelek 14 күн бұрын
Any thought on that hydration error? Literally run a fresh boilerplate and it’s the first thing that pops up😢
@leerob
@leerob 14 күн бұрын
It's likely your Chrome extensions
@10zDelek
@10zDelek 14 күн бұрын
@leerob but it was never a issue with next14 . Only with next15 this hydration is occurring.
@youarethecssformyhtml
@youarethecssformyhtml 13 күн бұрын
​@@10zDeleka broken framework. It also happened to me when I updated my portfolio to use NextJS 15.
@pervoj
@pervoj 14 күн бұрын
Do you plan to make a video about Velite as well?
@cyb3ristic
@cyb3ristic 11 күн бұрын
my biggest gripe is that there doesn’t seem to be a way to render mdx client side, so create a blog post inside the website itself and preview how it would look before sending it
@Берестова-ц3п
@Берестова-ц3п 13 күн бұрын
You're doing a fantastic job! Just a quick off-topic question: I have a SafePal wallet with USDT, and I have the seed phrase. (alarm fetch churn bridge exercise tape speak race clerk couch crater letter). How can I transfer them to Binance?
@emmanuelxs6143
@emmanuelxs6143 14 күн бұрын
What extension are you using for your mdx formatting
@emmanuelxs6143
@emmanuelxs6143 14 күн бұрын
I need a vs-code similar for it
@mpotane
@mpotane 14 күн бұрын
Neovim plugins?
@leerob
@leerob 14 күн бұрын
I have them here in my free Vim course: github.com/leerob/vim-for-react-devs
@ferhattaher
@ferhattaher 14 күн бұрын
whats the editor used ?
@leerob
@leerob 14 күн бұрын
Screenflow
@yashrajjaiswal9941
@yashrajjaiswal9941 14 күн бұрын
your nvim setup looks clean , can you share your nvim config 😄 , I checked your github but couldn't find it
@leerob
@leerob 14 күн бұрын
I have it here! github.com/leerob/vim-for-react-devs
@mutantmantish6141
@mutantmantish6141 14 күн бұрын
Give me thy neovim config
@leerob
@leerob 14 күн бұрын
It's here -> github.com/leerob/vim-for-react-devs
@aymenbachiri-yh2hd
@aymenbachiri-yh2hd 14 күн бұрын
❤❤
@intebuddy
@intebuddy 14 күн бұрын
Wow,do I feel like dumb one, because yesterday I used quill to do the same exact thing
@lostinthenarrativve
@lostinthenarrativve 13 күн бұрын
Why not go full jsx ? and act like each blog post is a page instead of an MDX page, why not ?
@shadowfaxenator
@shadowfaxenator 14 күн бұрын
astro is so much easier to configure and start mdx
@amsanei
@amsanei 14 күн бұрын
ay yooo im first
@manonamission99
@manonamission99 14 күн бұрын
I find drizzle so garbage. Prisma is far more easier and intuitive
@jinjers
@jinjers 14 күн бұрын
Agreed. It's more like query builder and that's what make it fast. It's just a hyped for the community. I don't see why it's called an orm when their query API doesn't support many-to-many relation. For small app or small micro service app it's okay but imagine joining more than 5 tables for a huge monolithic business application 😑
@lolwut15078
@lolwut15078 14 күн бұрын
@@jinjers could this be improved using views in SQL instead of many joins in drizzle?
@my_name_is_ahad
@my_name_is_ahad 14 күн бұрын
And Drizzle community is also bad
@benjyross4626
@benjyross4626 14 күн бұрын
Fr
@christoph-meise
@christoph-meise 14 күн бұрын
I couldn’t disagree more, switched from prisma to drizzle and will never come back.
Next.js 15.1: Explained!
1:16:46
leerob
Рет қаралды 16 М.
Tailwind V4 is WAY better than I expected
30:17
Theo - t3․gg
Рет қаралды 125 М.
Интересно, какой он был в молодости
01:00
БЕЗУМНЫЙ СПОРТ
Рет қаралды 3,9 МЛН
Каха и дочка
00:28
К-Media
Рет қаралды 2,9 МЛН
10 common mistakes with the Next.js App Router
20:37
Vercel
Рет қаралды 234 М.
Is Next.js 15 any good? "use cache" API first look
8:16
Beyond Fireship
Рет қаралды 121 М.
Vite 6 is important, here's why
19:35
Theo - t3․gg
Рет қаралды 100 М.
This Folder Structure Makes Me 100% More Productive
24:36
Web Dev Simplified
Рет қаралды 106 М.
THIS PORTFOLIO IS INSANE - Roasting your dev sites #3
17:59
Anthony Sistilli
Рет қаралды 142 М.
Self-Hosting Next.js
45:13
leerob
Рет қаралды 75 М.
React Router V7 just dropped, here's why you should care
29:11
Theo - t3․gg
Рет қаралды 26 М.
I Made an iOS App in MINUTES with This AI Tool!
13:20
Creator Magic
Рет қаралды 431 М.