sm

Tagged "React"

  1. in Articles
    Use state callbacks in React
    When you need to reference the previous state, pass a callback function to React's setState.
  2. in Articles
    Render and effect call order in React
    Renders are called top-down, but effects are called bottom-up.
  3. in Articles
    Create a useIsOnline React hook
    Using the Navigator's onLine property and online/offline events to create a custom React hook
  4. in Articles
    Farewell Create React App
    The React team is looking to transition Create React App from a project scaffold to a launcher that includes options other than client-side rendering
  5. in Articles
    When to use React's memo HOC
    The memo higher-order component can prevent your component for re-rendering unnecessarily, but you should use caution before using it
  6. in Articles
    Use remark to covert markdown into HTML
    The missing "hello world" example to get up and running with remark
  7. in Articles
    Should I snapshot my UI components?
    The temptation is strong, but consider some of the tradeoffs.
  8. in Articles
    Storing data in state vs. class variable
    Why do we store data in state as opposed to on the class?
  9. in Articles
    Adding accessibility checks to your React app
    A few tools to help you build more accessible React applications
  10. in Articles
    Convert class components to functions with React Hooks
    A step by step guide to converting old components to modern React
  11. in Articles
    How to create a render prop component
    Render props are a popular technique in modern React, but they can be tricky. Here is a brief explanation and guide to creating your own.