Ratnesh Raval
Ratnesh Raval
@dtom90 Thank you for looking into this. The reason I have 2 packs and 2 contexts, is to keep individual packs size smaller and only contain relevant imports. Hence I...
@noisyscanner I was not able to solve so I stopped using this.
I ended converting all pages to CSR (webpacker + react router and `componentMount` to fetch props) This also made on-boarding easier for devs who came from other React (non-rails) background.
@tim-millar I don't have a simple example repository to share right now. If you have a single page app then you can use split chunks like @BookOfGreg suggested. I used...
While the original issue still exists, I have been thinking about other ways to reduce size, and thought of the react suspense. Here is the official guide link. https://reactjs.org/docs/code-splitting.html#reactlazy It...
Not sure if this is any better but I ended up doing the following ``` def ballot(value) instance_options[:ballot] = value end has_many :candidates do |serializer| # Set instance option for...
How would I set this up for Rspec? Edit: found a way to do this. ``` # rails_helper.rb RSpec.configure do |config| ... config.include ActiveModelSerializers::Test::Schema config.include ActiveModelSerializers::Test::Serializer end ```
@schickling can we get some love here? and on #23 please?
I'm seeing this issue with 1.34.10