Search results
21 packages found
Convenient way to render React components
A helper component to render react components conditionally.
React Component to make the Conditional Render look Elegant
Declarative way to control if a component needs to be rendered or not
Eunice improves cohesion and modularity in software through hierarchical structure and simplified unidirectional dependencies. Eunice analyses source code, infers its structure and shows if the dependencies match.
- analyze
- analyzer
- architecture
- dependency
- dependencies
- euince
- javascript
- render
- stack
- structure
- svg
- uince
- unice
- yaml
[![npm](https://img.shields.io/npm/v/conditional-render-simplify?logo=npm)](https://www.npmjs.com/package/conditional-render-simplify)
When dealing with HTML strings in Preact, our only real option is to use `dangerouslySetInnerHTML`. This is fine(-ish) if you 100% trust the contents of that HTML, but regardless, it opens up potential vectors for attack, problems and bugs. Ideally, we'd
RenderIf is a function that receives a validation as a parameter, and if that validation is true, the content passed as children will be displayed. Try it!
- react
- hooks
- hook
- react-hooks
- window
- resize
- viewport
- viewport-sizes
- sizes
- dimensions
- typescript
- render
- validation
Jest plugin to quickly test if a React component shallow renders properly.
Detect if an element is scrolled into view. Window or container scrolling. Just a render prop.
Jest plugin to quickly test if a React component renders properly.
Lit components for conditional rendering, Fam
A react component to conditionally render JSX on the fly without dirtying your code with if blocks, ternaries and conditional expressions, in between JSX. The aim is to eliminate all conditional blocks from JSX, making code look more readable and cleaner.
A compiler that makes your life easier if you are building isomorphic webpack powered apps, that is, single page applications with server-side rendering
React Transform that prints if a render was unnecessary
Conditionally render React components through lazy evaluation
avoid rerender with rerender warnings- dont update react if you dont have to
A react component that handles conditional logic in a more elegant manner.
- react
- reactjs
- react-component
- conditional
- render
- render-component
- render-props
- condition
- if-else
- truthy
- falsy
- react-conditional
- react-conditional-rendering
- control-flow
- View more