Skip to main content

Posts

React Tricks

REACT-TIPS React Tips Replace Redux with React Query As our application gets larger it becomes harder to manage state across our components, we may reach for a state management library like Redux. If our application relies on data that we get from an API, we often use Redux to fetch that server state and then update our application state. This can be a challenging process; not only do you have to fetch data, but you also need to handle the different states, depending on whether you have the data or are in a loading or error state. Instead of using Redux to manage data you get from a server, use a library like React Query. React Query not only gives you greater control over making HTTP requests in your React apps through helpful hooks and the ability to easily refetch data, but it also enables us to seamlessly manage state across our app components, of...

Vscode Extensions

Markdown PDF This extension converts Markdown files to pdf, html, png or jpeg files. Japanese README Table of Contents Features Install Usage Extension Settings Options FAQ Known Issues Release Notes License Special thanks Features Supports the following features * Syntax highlighting * emoji * markdown-it-checkbox * markdown-it-container * markdown-it-include * PlantUML * markdown-it-plantuml * mermaid Sample files * pdf * html * png * jpeg markdown-it-container INPUT ::: warning *here be dragons* ::: OUTPUT <div class="warning"> <p><em>here be dragons</em></p> </div> markdown-it-plantuml INPUT @startuml Bob -[#red]> Alice : hello Alice -[#0000FF]->Bob : ok @enduml OUTPUT markdown-it-include Include markdown fragment files:  :[alternate-text](https://github.com/yzane/vscode-markdown-pdf/blob/master/relative-path-to-file.md) . ├── [plugins] │ └── README.md ├── CHANGEL...