Cosden Solutions
Cosden Solutions
  • 185
  • 5 884 342
React i18next (Complete Tutorial)
🚀 Project React → cosden.solutions/project-react
Source Code → github.com/cosdensolutions/code/tree/master/videos/long/server-components-simple-tutorial
Join The Discord! → discord.cosden.solutions
VSCode Theme | Font → Material Theme Darker | Menlo, Monaco "monospace"
In this video we will learn about translating your React app into multiple languages using React-i18next. This will allow you to specify a simple configuration object with all of your languages, and then use the useTranslation hook or the Trans component to translate any string in your application into any other language.
Переглядів: 8 361

Відео

Compound Components in React (Design Patterns)
Переглядів 27 тис.День тому
🚀 Project React → cosden.solutions/project-react Join The Discord! → discord.cosden.solutions VSCode Theme | Font → Material Theme Darker | Menlo, Monaco "monospace" In this video we will talk about compound components in React. Compound components is a great design pattern to adopt in React. It allows you to break apart a component into multiple sub-components that are meant to be used togethe...
Authentication in React with JWTs, Access & Refresh Tokens (Complete Tutorial)
Переглядів 31 тис.14 днів тому
🚀 Project React → cosden.solutions/project-react Join The Discord! → discord.cosden.solutions VSCode Theme | Font → Material Theme Darker | Menlo, Monaco "monospace" In this video we will learn how to handle authentication in React with JWTs and access & refresh tokens. We will learn about the mental model of authentication, where to store each type of token, and finally we will look at some Re...
I Built a Game with React (Code Review)
Переглядів 5 тис.Місяць тому
🚀 Project React → cosden.solutions/project-react Join The Discord! → discord.cosden.solutions VSCode Theme | Font → Material Theme Darker | Menlo, Monaco "monospace" In this video I will show you how I built a game with React and we are going to do a code review on the code! I will show you how I merged a 3d game engine with React to combine the powers of both and create something really cool. ...
7 Senior React Developer Tools (Realistic Workday)
Переглядів 13 тис.Місяць тому
Check Out Pullpo → pullpo.io/products/channels 🚀 Project React → cosden.solutions/project-react Join The Discord! → discord.cosden.solutions VSCode Theme | Font → Material Theme Darker | Menlo, Monaco "monospace" In this video I will share with you 7 tools that I use as a senior React developer. I will also show you what a realistic workday looks like and how I use these tools to be more produc...
How I Write Clean Code in React
Переглядів 25 тис.Місяць тому
Check Out Brilliant → brilliant.org/CosdenSolutions 🚀 Project React → cosden.solutions/project-react Join The Discord! → discord.cosden.solutions VSCode Theme | Font → Material Theme Darker | Menlo, Monaco "monospace" In this video I will show you how I write clean code in React. I will show you my mindset, how I approach a problem, and how I break it down into multiple small parts to make it m...
Reusable Create & Edit Form in React (React Hook Form, Zod)
Переглядів 21 тис.Місяць тому
🚀 Project React → cosden.solutions/project-react Source Code → github.com/cosdensolutions/code/tree/master/videos/long/reusable-create-edit-form Join The Discord! → discord.cosden.solutions VSCode Theme | Font → Material Theme Darker | Menlo, Monaco "monospace" In this video I will show you how to create a reusable create & edit form in React using React Hook Form and Zod. We're going to be goi...
The Weirdest Pattern in React
Переглядів 8 тис.2 місяці тому
🚀 Project React → cosden.solutions/project-react Join The Discord! → discord.cosden.solutions VSCode Theme | Font → Material Theme Darker | Menlo, Monaco "monospace" In this video we will talk about the weirdest pattern in React. This is something that is in the official React docs, but isn't talked about often. The pattern is about setting state during rendering. Which is really weird to be ho...
React Email with Resend (Complete Tutorial)
Переглядів 12 тис.2 місяці тому
🚀 Project React → cosden.solutions/project-react Source Code → github.com/cosdensolutions/code/tree/master/videos/long/react-email-with-resend-tutorial Join The Discord! → discord.cosden.solutions VSCode Theme | Font → Material Theme Darker | Menlo, Monaco "monospace" In this video we will learn how to send emails in React with React Email and Resend. We will build a custom email from scratch u...
You Are Using useEffect Wrong
Переглядів 32 тис.2 місяці тому
You Are Using useEffect Wrong
I Found the Perfect Open Source React Project (Code Review)
Переглядів 62 тис.2 місяці тому
I Found the Perfect Open Source React Project (Code Review)
Server Components in React (Simple Tutorial)
Переглядів 13 тис.2 місяці тому
Server Components in React (Simple Tutorial)
Efficiently Render 100,000 Rows in React
Переглядів 16 тис.2 місяці тому
Efficiently Render 100,000 Rows in React
Welcome to Project React
Переглядів 12 тис.3 місяці тому
Welcome to Project React
Stop Watching React Tutorials in 2024
Переглядів 17 тис.3 місяці тому
Stop Watching React Tutorials in 2024
Build a Reusable Component in React (Shadcn/ui, Tailwind)
Переглядів 19 тис.3 місяці тому
Build a Reusable Component in React (Shadcn/ui, Tailwind)
Building a Mock API in React
Переглядів 9 тис.3 місяці тому
Building a Mock API in React
Introducing Project React
Переглядів 3,5 тис.3 місяці тому
Introducing Project React
Infinite Pagination Component With React Query
Переглядів 15 тис.4 місяці тому
Infinite Pagination Component With React Query
Custom Hooks in React (Design Patterns)
Переглядів 34 тис.4 місяці тому
Custom Hooks in React (Design Patterns)
Converting JSX to TSX in React
Переглядів 11 тис.4 місяці тому
Converting JSX to TSX in React
Why Did They Do This?! (Code Review)
Переглядів 15 тис.4 місяці тому
Why Did They Do This?! (Code Review)
React Router - Complete Tutorial
Переглядів 82 тис.4 місяці тому
React Router - Complete Tutorial
Custom Protected Route Component in React
Переглядів 36 тис.4 місяці тому
Custom Protected Route Component in React
Single Responsibility Principle in React (Design Patterns)
Переглядів 45 тис.5 місяців тому
Single Responsibility Principle in React (Design Patterns)
React Hook Form - Complete Tutorial (with Zod)
Переглядів 84 тис.5 місяців тому
React Hook Form - Complete Tutorial (with Zod)
React Developer Roadmap 2024
Переглядів 38 тис.5 місяців тому
React Developer Roadmap 2024
I can't believe I wrote this! - Code Review
Переглядів 7 тис.6 місяців тому
I can't believe I wrote this! - Code Review
Zustand - Complete Tutorial
Переглядів 66 тис.6 місяців тому
Zustand - Complete Tutorial
The problem with useEffect
Переглядів 31 тис.6 місяців тому
The problem with useEffect

КОМЕНТАРІ

  • @tshepokhumako1403
    @tshepokhumako1403 6 годин тому

    wow

  • @vinitjain7
    @vinitjain7 13 годин тому

    i want group tabs how to do that.. like home can have multiple navigations not necessarily tabs..

  • @rohitdalal954
    @rohitdalal954 14 годин тому

    thank you so much for this. your content is really really good. Learning a lot. Thank you 🙌

  • @michaelxaviercanonizado7931
    @michaelxaviercanonizado7931 14 годин тому

    DemoProps.user.plan's type should be the keys of const views to ensure that DemoProps.user.plan is strictly tied to views

  • @zenoviyfil
    @zenoviyfil 15 годин тому

    junior react developer does not know the difference between controlled input and uncontrolled? you got to be kiddin me....this is more about like trainy question.

  • @Alex.Shalda
    @Alex.Shalda 15 годин тому

    awesome

  • @sviatoslav8776
    @sviatoslav8776 15 годин тому

    Very comprehensive, cool)

  • @sviatoslav8776
    @sviatoslav8776 16 годин тому

    Great explanation. Thanks a lot 👍

  • @SebiiAT
    @SebiiAT 16 годин тому

    Awesome work! Keep in mind that compound components syntactically cannot be used in an RSC, eg: <Post.Title> // will not work -> error Therefore PostTitle must be exported individually in order to be imported like this: <PostTitle> // will work -> no error

  • @PLAY_Arcade
    @PLAY_Arcade 19 годин тому

    Hi! kind of new here with Reducer. If I'm not wrong, while calling the dispatch function, it basically calls the reducer function, and takes the the "action"(2nd params) as the actual parameter by ignoring the "state"(1st params) by default. Is that correct?

  • @USPSLaura
    @USPSLaura 19 годин тому

    How can I use it in real life project 😢

  • @BrantK147
    @BrantK147 День тому

    Oh wow, this is awesome! I used to be a translator and now I'm a software developer. I'm REALLY interested in internationalizing and translating web apps.

  • @moppnitz
    @moppnitz День тому

    man.. this is a lot to wrap my head around

  • @FelipeRodriguesFront
    @FelipeRodriguesFront День тому

    Great video! Subscribed :)

  • @hardheart3336
    @hardheart3336 День тому

    Thanks for this video! ❤❤❤

  • @djtoon8412
    @djtoon8412 День тому

    project react link is broken.I can't open it

  • @djtoon8412
    @djtoon8412 День тому

    So hard to find instructors like you.Can you add part two explaining how you would add RBAC in this implementation for role based authentication and have private routes and a hint on how to handle this with nextjs 14.We need to understand fully this phrase "Roll you own auth" and not becoming dependant on thirdy party libraries.Thank you

  • @sylum3
    @sylum3 День тому

    Regarding a change in keys that can break the UI - if your component and its helpers are padded with tests, then the commit that has these breaking changes should fail at some level, depending on the setup you have. For example a pre-commit script that runs all *.test files, a github action that blocks the PR if any test fails, etc.

  • @joenguyen8204
    @joenguyen8204 День тому

    awsome, good stuff

  • @johndevnoza4223
    @johndevnoza4223 День тому

    no way anyone got help from this video for theyr REACT aplication but not NextJs...

  • @bodhitdarji8687
    @bodhitdarji8687 День тому

    Very good video.Keep doing videos like this.Thanks a lot!

  • @Pareshbpatel
    @Pareshbpatel День тому

    Converting JSX to TSX in React, so clearly explained. Thank you, Darius {2024-06-21}

  • @pinoyolea
    @pinoyolea 2 дні тому

    This is the best on React router . Thanks

  • @toastyy1455
    @toastyy1455 2 дні тому

    Great idea! Thanks for the tutorial on this. I'm definitely guilty of adding a quick boolean prop to change some things around every now and then lol. 1 unrelated question though, any reason you're using types instead of interfaces? Are there any drawbacks? I've usually used types just for quick string types like: type Status = 'open' | 'cancelled' | 'complete'; Great content though, i wasn't subscribed before but i am now! Thanks man!

  • @aggranular
    @aggranular 2 дні тому

    If you don’t care about type of error you should use unknown, not any

  • @aggranular
    @aggranular 2 дні тому

    I like your video but got a big fat 👎 for as Posts[] antipattern. Should have at least mentioned that in real application you should validate the response a type safe schema library

  • @geianmarkdenorte9874
    @geianmarkdenorte9874 2 дні тому

    nice info! I also like the quality of the video. I am wondering what camera do you use? Is it green screen or just black curtain?

  • @-mahmoudadel2628
    @-mahmoudadel2628 2 дні тому

    What about Formik with Yup?

  • @chinmayghule8272
    @chinmayghule8272 2 дні тому

    Absolutely horrible and incorrect explanation.

  • @kaluczadzsi
    @kaluczadzsi 2 дні тому

    I would like to get More TS + React projects from scratch with tailwind or MUI

  • @madipallynaveenkumar6811
    @madipallynaveenkumar6811 2 дні тому

    Nice one!... Liked it!

  • @CLeovison
    @CLeovison 2 дні тому

    Hi cosden i hope you make a tutorial on how to use react helmet async. Been watching your tutorial about react. Thank you so much for bringing a good quality video

  • @ravisankarp61
    @ravisankarp61 2 дні тому

    Thank You.

  • @lateefmushtaq6059
    @lateefmushtaq6059 2 дні тому

    I am confused with the typescript syntax, do you have videos with pure React syntax?

  • @orangvaik
    @orangvaik 2 дні тому

    in this tutorial string data is static, what about string data which is dynamic like data from a database?

  • @mmohamedfariz7814
    @mmohamedfariz7814 2 дні тому

    Your Video are Good. need a video for testing in react

  • @dominikrodler8010
    @dominikrodler8010 2 дні тому

    Very nice introduction! A few additional things that might be interesting to new users: 1) You can keep basic HTML nodes (e.g. <strong>) instead of those numbers (<1>) in your translation strings. 2) ESLint plugin eslint-plugin-i18next helps you find untranslated texts in your code. 3) i18next-scanner can automatically extract all translated texts and collect them in translation files (e.g. /en/frontend.json, /de/frontend.json). The same thing could be done with the "saveMissing" config option it seems, but I haven't tried that myself yet.

  • @davronmaxmudov3972
    @davronmaxmudov3972 2 дні тому

    CFBR

  • @drrandom1259
    @drrandom1259 2 дні тому

    What if we want to separate different page translations too? Like I need an en.json for my home page and my settings page separatelly because there are tons of words in each page. Can I do nested objects inside my json file like en.json { "homePage":{ "welcomeText": "Hello!", }, "settingsPage":{ "title":"Settings page" } } And use it like this: { t("homePage.welcomeText") }??

    • @cosdensolutions
      @cosdensolutions 2 дні тому

      Yeah! Check the docs there are also other ways to organize

    • @drrandom1259
      @drrandom1259 2 дні тому

      @@cosdensolutions thanks! Will do

  • @drrandom1259
    @drrandom1259 2 дні тому

    <span> {t("welcomeMessage")}, {user}!</span>

  • @hadeklte5312
    @hadeklte5312 2 дні тому

    I wonder How will it be for the data fetched from database like blog posts? It is a lots of work manually.

  • @kouzul
    @kouzul 2 дні тому

    I don't understand why home page is responsible for getting the posts, in single responsability example. Shouldn't it only be responsible for rendering all the page components and PostFeed to be a feature component and get what it needs for its child components?

  • @Kitchendeveloper
    @Kitchendeveloper 2 дні тому

    thanks for positive vibes 🙂

  • @ZeeshanMg
    @ZeeshanMg 2 дні тому

    Hi, I need some help with the following question: ### Refresh Case When I refresh the page, my access token is lost, resulting in `undefined` being passed as the access token in requests. You've mentioned that the backend will check the validity of the refresh token, generate a new access token, and retry the request. However, how does the backend identify which user's refresh token to validate in this case? Consider this scenario: - **User 1:** Refreshes the page and sends the next request with an undefined access token. How will the backend identify this user? - **User 2:** Also refreshes the page and sends the next request with an undefined access token. How will the backend distinguish between User 1 and User 2? How does the backend differentiate between the two users and validate the correct refresh token?

  • @mnhtada12
    @mnhtada12 3 дні тому

    Thank you so much for this video

  • @Thomas-vm1jy
    @Thomas-vm1jy 3 дні тому

    Do you have any advice to what part of personal projects interests recruiters more? Do they not mind a personal project over youtube tutorials and if so do you know how advanced personal projects should be?

  • @JuanPabloGomez-cc6vm
    @JuanPabloGomez-cc6vm 3 дні тому

    is this the same for a next js project?

  • @qitpess2660
    @qitpess2660 3 дні тому

    Good video. Regarding the library. This i18n is SO WRONG in the first place. The thing is that I should do so much manual work and the mistake possibility is so high. This is so frustrating. As a developer, I want to have a running service within the project that will generate those JSONs without me. For me, it would be convenient to write full text in English inside t("Hello world!") and for all supported languages it will be like { fr: { "Hello world!": null } } With the highlighting when the text in the component is changing. But no one seems to move in that direction.

    • @dominikrodler8010
      @dominikrodler8010 2 дні тому

      You can. Set the createMissing config option or use i18next-scanner to extract and collect translations.

    • @qitpess2660
      @qitpess2660 День тому

      @@dominikrodler8010 Oh. Ok. Thank you very much :)

  • @danurarya0823
    @danurarya0823 3 дні тому

    A very valuable lesson, thanks for sharing

  • @stefangarofalo3131
    @stefangarofalo3131 3 дні тому

    I literally came across a perfect use case for this at my job some days ago, but ended up using render props instead I knew about this design pattern from shadcn components but I didn’t really know what to look for to learn more and implement it. Thank you so much for this!