Commit Graph

3 Commits

Author SHA1 Message Date
niketchandivade dea722dea3 update react remove properties to support app route (#68324)
This PR updates the react-remove-properties example to use the App
Router. Here are the changes that have been made:

Renamed the "pages" folder to the "app" folder.
Updated the routing for / files to align with the App Router.
Added the layout.tsx file as part of the App Router.
CC @samcx

---------

Co-authored-by: niket <niket.chandivade@qed42.com>
Co-authored-by: samcx <sam@vercel.com>
2024-07-30 23:51:00 +00:00
Max Proske 5dd4999b64 Convert many examples to TypeScript (#41825)
Strategized with @balazsorban44 to open one larger PR, with changes to individual examples as separate commits. 

For each example, I researched how multiple realworld codebases use the featured technology with TypeScript, to thoughtfully convert them by hand - nothing automated whatsoever.

## Documentation / Examples

- [X] Make sure the linting passes by running `pnpm lint`
- [X] The "examples guidelines" are followed from [our contributing doc](https://github.com/vercel/next.js/blob/canary/contributing/examples/adding-examples.md)
2022-10-26 20:28:55 +00:00
Heyang Zhou 809d0155ff Add support for removing React properties. (#31606) 2021-11-26 14:45:03 +01:00