← Înapoi la Urmăritori

Cel mai recent articol

Ultima verificare

Urmăritori 0 urmăritori
Articole: 48
  1. My experience with "AI"

    Ever since ChatGPT's release in 2022, "AI" is everywhere.

  2. Learning to love tests

    "Tests are annoying".

  3. Surviving frontend

    I have written about a variety of topics around frontend and React so far.

  4. For the last four months, I stepped away from my usual life in Prague to help my parents with several legal and health issues in Sri Lanka.

  5. Working with cookies in Next.js

    Cookies are a very useful HTTP feature.

  6. While building Next.js apps, we often need to create pages that render different content based on the URL parameters passed to them.

  7. Managing state is a big part of building a React app.

  8. Things were not off to a great start.

  9. Reflections on managing state

    UPDATE: This post was easily misunderstood.

  10. This post belongs to a series of posts about state management libraries.

  11. This post belongs to a series of posts about state management libraries.

  12. This post belongs to a series of posts about state management libraries.

  13. Building PC game UIs using React

    I should have written this post two years ago while I was still in Wargaming Prague.

  14. Many React apps use a state management library like Redux for managing state.

  15. What is state management in React?

    You might have come across the term "state management" while learning about React.

  16. This post belongs to a series of posts about state management libraries.

  17. When I first started working with React, Redux was pretty much the only library that was used to manage state in React.

  18. Putting a React app online for the first time is an exciting moment.

  19. This post belongs to a series of posts about state management libraries.

  20. This post kicks off a series of posts about state management libraries.

  21. If you have a React web app using React router hosted on Netlify, you might run into a "Page Not Found" 404 error page when you refresh or directly load a non root URL.

  22. If you created a React project using Create React App or a custom project template, you might have noticed that it uses Webpack and Babel.

  23. If you are setting up a React project from scratch, you need to setup a transpiler such as Babel and a bundler such as Webpack.

  24. The most popular way of starting a React project is to use a project builder like Create React App (CRA) or Vite.

  25. If your frontend project uses Vite, you need to create a production build before deploying it to production.

  26. Building a sample React app

    In the last post, I mentioned that I will be doing in-depth reviews of state management libraries for the next few months.

  27. If you have been working with React for a while, you might have been tempted to use React context and a state hook (useState or useReducer) to manage the global state of your web app.

  28. Right to left (RTL) layouts

    I first came across a right to left layout when I was Googling something on the Dubai airport WiFi a few years ago.

  29. If your React project uses Create React App (CRA) which is installed as the react-scripts npm package, you need to create a production build before deploying it to production.

  30. If you are using Nginx to host a React app with React Router, you might come across a 404 error when you directly load a React Router Route.

  31. If you are using React Router in a React app, you might encounter an HTTP 404 - Not Found error when you refresh or reload a non root (/) URL.

  32. In this post, I will walk you through how you can use docker to set up a development environment for a React project.

  33. If you are using Docker Compose to manage the services of your application, it is convenient to use it to host the React web app itself as well.

  34. If you want to use Docker to host your React app, you need to create a Docker image with a production build of your app and a web server to serve it.

  35. How to dockerize a React web app

    In this post, I will walk you through how you can set up a docker image for your React app.

  36. So you started building your React app and you realized that you need someplace to store the data.

  37. Is it a library or a framework?

    Many developers use the terms "library" and "framework" interchangeably.

  38. 8 years of frontend

    Note: Most links on this post use the wayback machine to show how a site looked like at the time. 2015 This was when my journey on the web began as I learnt HTML, CSS, JS and PHP.

  39. If you are starting out with React, the sheer number of libraries that are used alongside it can be overwhelming.

  40. You are making multiple calls to setState from React's useState hook.

  41. You are trying to update the state of your React app with the useState hook.

  42. It takes time

    It takes time to learn.

  43. You know that you need to know Javascript to use React.

  44. Learning frontend development can be overwhelming.

  45. Despite all the tools we have for debugging frontend code, nothing beats a quick console.log to check the current state of the app.

  46. HTML, CSS, and JS are everywhere — on mobile apps, desktop apps, and smart appliances of all shapes and sizes.

  47. As frontend developers, we often need to choose between many libraries and tools.

  48. Concurrent mode is an upcoming feature of React that enables you to keep your apps much more responsive during I/O or CPU bound operations.