flexdinesh / flexdinesh/react-socks

Component Flashes on Screen

Open
#19 5 comments 1 reaction 0 assignees View on GitHub
Dominant language
JavaScript
Stars
424
Forks
27
PR merge metrics
No merged PRs in 30d

Description

I've tried out your library for a react project of mine and it seems to work with the breakpoints, however, regardless of the width, the components will always flash on the screen then disappear. For example:

```



```

For the above code, I want the search bar to render only for screens larger than xlarge. When the screen size is small (mobile), the SearchBar flashes on the screen then disappears. Which tells me that, while the library is adhering to the screen sizes, it is still rendering the component and then unmounting it.

Is there a fix for this?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.